lavf: remove unnecessary inclusions of unistd.h
authorMans Rullgard <mans@mansr.com>
Tue, 19 Jun 2012 14:11:34 +0000 (15:11 +0100)
committerMans Rullgard <mans@mansr.com>
Wed, 20 Jun 2012 10:46:30 +0000 (11:46 +0100)
These files do not use anything provided by unistd.h.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavformat/http.c
libavformat/os_support.c
libavformat/rtpdec_h264.c
libavformat/rtpproto.c

index 8ccb649..ce4a508 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "libavutil/avstring.h"
 #include "avformat.h"
-#include <unistd.h>
 #include "internal.h"
 #include "network.h"
 #include "http.h"
index 4181350..eaada4b 100644 (file)
@@ -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
index 829053a..c192d97 100644 (file)
@@ -39,7 +39,6 @@
 #include "avformat.h"
 #include "mpegts.h"
 
-#include <unistd.h>
 #include "network.h"
 #include <assert.h>
 
index c93de4a..881a188 100644 (file)
@@ -31,7 +31,6 @@
 #include "rtpdec.h"
 #include "url.h"
 
-#include <unistd.h>
 #include <stdarg.h>
 #include "internal.h"
 #include "network.h"