diff options
author | Martin Storsjö <martin@martin.st> | 2012-06-25 01:39:57 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-26 18:22:21 +0400 |
commit | 39dba5aa1b919c4b40619895bf3b4936fbe29deb (patch) | |
tree | b2dfdc496290daa538ccff893e8990cc013bb646 /libavformat/sctp.c | |
parent | b8c632a7204511cec4176dbdc8f2e5276b1ec3a2 (diff) |
network: Include unistd.h from network.h
This heaader is required for close() for sockets in network
code. For winsock, the equivalent function is defined in the
winsock2.h header.
This avoids having the HAVE_UNISTD_H in all files dealing with
raw sockets.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/sctp.c')
-rw-r--r-- | libavformat/sctp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/sctp.c b/libavformat/sctp.c index 07de4986d2..7bcb5ae0a9 100644 --- a/libavformat/sctp.c +++ b/libavformat/sctp.c @@ -39,7 +39,6 @@ #include <netinet/in.h> #include <netinet/sctp.h> -#include <unistd.h> #include "config.h" |