summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 27863031d1..83f0820662 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -26,13 +26,13 @@
#include "config.h"
#include "avformat.h"
-#include <unistd.h>
-#include <fcntl.h>
-#include <sys/time.h>
#include "os_support.h"
#if CONFIG_NETWORK
+#include <fcntl.h>
+#include <unistd.h>
#if !HAVE_POLL_H
+#include <sys/time.h>
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#elif HAVE_SYS_SELECT_H