aboutsummaryrefslogtreecommitdiff
path: root/libavformat/sctp.c
diff options
context:
space:
mode:
authorMartin Storsjö2012-06-25 00:39:57 +0300
committerMartin Storsjö2012-06-26 17:22:21 +0300
commit39dba5aa1b919c4b40619895bf3b4936fbe29deb (patch)
treeb2dfdc496290daa538ccff893e8990cc013bb646 /libavformat/sctp.c
parentb8c632a7204511cec4176dbdc8f2e5276b1ec3a2 (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.c1
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"