Commit 6501dcfb authored by Mans Rullgard's avatar Mans Rullgard

Remove unnecessary inclusions of [sys/]time.h

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 4e5a5148
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
#if HAVE_SYS_RESOURCE_H #if HAVE_SYS_RESOURCE_H
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
#elif HAVE_GETPROCESSTIMES #elif HAVE_GETPROCESSTIMES
#include <windows.h> #include <windows.h>
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
#include <poll.h> #include <poll.h>
#endif #endif
#include <errno.h> #include <errno.h>
#include <sys/time.h>
#include <time.h> #include <time.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <signal.h> #include <signal.h>
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <poll.h> #include <poll.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/time.h>
#include <time.h>
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <time.h> #include <time.h>
#include <linux/fb.h> #include <linux/fb.h>
......
...@@ -33,8 +33,6 @@ ...@@ -33,8 +33,6 @@
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/select.h>
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#else #else
#include <linux/videodev2.h> #include <linux/videodev2.h>
#endif #endif
#include <time.h>
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#if HAVE_POLL_H #if HAVE_POLL_H
#include <sys/poll.h> #include <sys/poll.h>
#endif #endif
#include <sys/time.h>
#define RTP_TX_BUF_SIZE (64 * 1024) #define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024) #define RTP_RX_BUF_SIZE (128 * 1024)
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h" #include "avio_internal.h"
#include <sys/time.h>
#if HAVE_POLL_H #if HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif #endif
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "avformat.h" #include "avformat.h"
#include <sys/time.h>
#if HAVE_POLL_H #if HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif #endif
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#if HAVE_POLL_H #if HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif #endif
#include <sys/time.h>
struct SAPState { struct SAPState {
URLContext *ann_fd; URLContext *ann_fd;
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <netinet/sctp.h> #include <netinet/sctp.h>
#include <sys/time.h>
#include <unistd.h> #include <unistd.h>
#include "config.h" #include "config.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#if HAVE_POLL_H #if HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif #endif
#include <sys/time.h>
typedef struct TCPContext { typedef struct TCPContext {
int fd; int fd;
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "network.h" #include "network.h"
#include "os_support.h" #include "os_support.h"
#include "url.h" #include "url.h"
#include <sys/time.h>
#ifndef IPV6_ADD_MEMBERSHIP #ifndef IPV6_ADD_MEMBERSHIP
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
* misc parsing utilities * misc parsing utilities
*/ */
#include <sys/time.h>
#include <time.h> #include <time.h>
#include "avstring.h" #include "avstring.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment