These files do not use anything provided by unistd.h.

Signed-off-by: Mans Rullgard <[email protected]>
---
 libavformat/os_support.c  |    1 -
 libavformat/rtpdec_h264.c |    1 -
 libavformat/rtpproto.c    |    1 -
 3 files changed, 3 deletions(-)

diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 889a005..5505b2c 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -57,7 +57,6 @@ int ff_win32_open(const char *filename_utf8, int oflag, int 
pmode)
 
 #if CONFIG_NETWORK
 #include <fcntl.h>
-#include <unistd.h>
 #if !HAVE_POLL_H
 #include <sys/time.h>
 #if HAVE_WINSOCK2_H
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 829053a..c192d97 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -39,7 +39,6 @@
 #include "avformat.h"
 #include "mpegts.h"
 
-#include <unistd.h>
 #include "network.h"
 #include <assert.h>
 
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index c93de4a..881a188 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -31,7 +31,6 @@
 #include "rtpdec.h"
 #include "url.h"
 
-#include <unistd.h>
 #include <stdarg.h>
 #include "internal.h"
 #include "network.h"
-- 
1.7.10.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to