diff options
author | Martin Storsjö <[email protected]> | 2012-06-25 00:39:57 +0300 |
---|---|---|
committer | Martin Storsjö <[email protected]> | 2012-06-26 17:22:21 +0300 |
commit | 39dba5aa1b919c4b40619895bf3b4936fbe29deb (patch) | |
tree | b2dfdc496290daa538ccff893e8990cc013bb646 /libavformat/udp.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ö <[email protected]>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r-- | libavformat/udp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index 39db263e12..71b445b187 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -30,7 +30,6 @@ #include "avio_internal.h" #include "libavutil/parseutils.h" #include "libavutil/avstring.h" -#include <unistd.h> #include "internal.h" #include "network.h" #include "os_support.h" |