[FFmpeg-cvslog] r24072 - trunk/libavformat/os_support.c

mru subversion
Tue Jul 6 13:42:53 CEST 2010


Author: mru
Date: Tue Jul  6 13:42:52 2010
New Revision: 24072

Log:
os_support: include some headers only when needed

Modified:
   trunk/libavformat/os_support.c

Modified: trunk/libavformat/os_support.c
==============================================================================
--- trunk/libavformat/os_support.c	Tue Jul  6 13:42:48 2010	(r24071)
+++ trunk/libavformat/os_support.c	Tue Jul  6 13:42:52 2010	(r24072)
@@ -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



More information about the ffmpeg-cvslog mailing list