aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-06-19 15:11:34 +0100
committerMans Rullgard <mans@mansr.com>2012-06-20 11:46:30 +0100
commit4e5a51481343ef4e08a3779186f466f3458259ff (patch)
treef6d6a2e151cb418210c84c34f2d3ce2ed81febd2
parent4996e8f510350ecbe9ca047a98d3b62eeb39adc5 (diff)
downloadffmpeg-4e5a51481343ef4e08a3779186f466f3458259ff.tar.gz
lavf: remove unnecessary inclusions of unistd.h
These files do not use anything provided by unistd.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--libavformat/http.c1
-rw-r--r--libavformat/os_support.c1
-rw-r--r--libavformat/rtpdec_h264.c1
-rw-r--r--libavformat/rtpproto.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index 8ccb64986c..ce4a508eba 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -21,7 +21,6 @@
#include "libavutil/avstring.h"
#include "avformat.h"
-#include <unistd.h>
#include "internal.h"
#include "network.h"
#include "http.h"
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 4181350b00..eaada4be0b 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 829053a69d..c192d976c1 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 c93de4af2b..881a188161 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"