summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-06-19 22:08:35 +0100
committerMans Rullgard <mans@mansr.com>2012-06-20 11:46:46 +0100
commit6501dcfb5e3797b66f63de030fabe774b5f4596f (patch)
treed73ff9b3e80a65d72f156540480449688f5b7486 /libavformat
parent4e5a51481343ef4e08a3779186f466f3458259ff (diff)
Remove unnecessary inclusions of [sys/]time.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpproto.c1
-rw-r--r--libavformat/rtsp.c1
-rw-r--r--libavformat/rtspenc.c1
-rw-r--r--libavformat/sapdec.c1
-rw-r--r--libavformat/sctp.c1
-rw-r--r--libavformat/tcp.c1
-rw-r--r--libavformat/udp.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 881a188161..e70b89ec9e 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -39,7 +39,6 @@
#if HAVE_POLL_H
#include <sys/poll.h>
#endif
-#include <sys/time.h>
#define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index a70ea04df2..76b5df8400 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -30,7 +30,6 @@
#include "avformat.h"
#include "avio_internal.h"
-#include <sys/time.h>
#if HAVE_POLL_H
#include <poll.h>
#endif
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index ad6e485906..c7fb2fa9d9 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -21,7 +21,6 @@
#include "avformat.h"
-#include <sys/time.h>
#if HAVE_POLL_H
#include <poll.h>
#endif
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index 46a4b96b93..e377cefda9 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -30,7 +30,6 @@
#if HAVE_POLL_H
#include <poll.h>
#endif
-#include <sys/time.h>
struct SAPState {
URLContext *ann_fd;
diff --git a/libavformat/sctp.c b/libavformat/sctp.c
index 817b0049a9..07de4986d2 100644
--- a/libavformat/sctp.c
+++ b/libavformat/sctp.c
@@ -39,7 +39,6 @@
#include <netinet/in.h>
#include <netinet/sctp.h>
-#include <sys/time.h>
#include <unistd.h>
#include "config.h"
diff --git a/libavformat/tcp.c b/libavformat/tcp.c
index f1bad847d0..e77e4c5231 100644
--- a/libavformat/tcp.c
+++ b/libavformat/tcp.c
@@ -28,7 +28,6 @@
#if HAVE_POLL_H
#include <poll.h>
#endif
-#include <sys/time.h>
typedef struct TCPContext {
int fd;
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 0eaed1bfc8..39db263e12 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -35,7 +35,6 @@
#include "network.h"
#include "os_support.h"
#include "url.h"
-#include <sys/time.h>
#ifndef IPV6_ADD_MEMBERSHIP
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP