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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 8bde1b8df0..983523b9f5 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -25,6 +25,7 @@
#include <fcntl.h>
#include "os_support.h"
+#ifdef CONFIG_NETWORK
#ifndef HAVE_SYS_POLL_H
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
@@ -33,7 +34,6 @@
#endif
#endif
-#ifdef CONFIG_NETWORK
#include "network.h"
#if !defined(HAVE_INET_ATON)