os_support: include some headers only when needed
Originally committed as revision 24072 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		| @@ -26,13 +26,13 @@ | |||||||
|  |  | ||||||
| #include "config.h" | #include "config.h" | ||||||
| #include "avformat.h" | #include "avformat.h" | ||||||
| #include <unistd.h> |  | ||||||
| #include <fcntl.h> |  | ||||||
| #include <sys/time.h> |  | ||||||
| #include "os_support.h" | #include "os_support.h" | ||||||
|  |  | ||||||
| #if CONFIG_NETWORK | #if CONFIG_NETWORK | ||||||
|  | #include <fcntl.h> | ||||||
|  | #include <unistd.h> | ||||||
| #if !HAVE_POLL_H | #if !HAVE_POLL_H | ||||||
|  | #include <sys/time.h> | ||||||
| #if HAVE_WINSOCK2_H | #if HAVE_WINSOCK2_H | ||||||
| #include <winsock2.h> | #include <winsock2.h> | ||||||
| #elif HAVE_SYS_SELECT_H | #elif HAVE_SYS_SELECT_H | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Måns Rullgård
					Måns Rullgård