Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
59c865d1
Commit
59c865d1
authored
Dec 16, 2005
by
Rémi Denis-Courmont
Browse files
Missing includes
parent
9be94826
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network/rootwrap.c
View file @
59c865d1
...
...
@@ -33,6 +33,7 @@
#include <stdlib.h>
/* exit() */
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
...
...
@@ -229,7 +230,7 @@ static void rootprocess (int fd)
setsockopt
(
sock
,
SOL_SOCKET
,
SO_REUSEADDR
,
&
val
,
sizeof
(
val
));
if
(
ss
.
ss_family
==
AF_INET6
)
setsockopt
(
sock
,
SOL
_IPV6
,
IPV6_V6ONLY
,
&
val
,
sizeof
(
val
));
setsockopt
(
sock
,
IPPROTO
_IPV6
,
IPV6_V6ONLY
,
&
val
,
sizeof
(
val
));
if
(
bind
(
sock
,
(
struct
sockaddr
*
)
&
ss
,
len
)
==
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment