diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-06 11:42:52 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-06 11:42:52 +0000 |
commit | 7fddac9320eec31bc9027f1b1fabac0f3aafaeb2 (patch) | |
tree | eb0140f9322ee720fbaeba27f17029386eaccfb9 /libavformat/os_support.c | |
parent | 81f460a373f53d73923168a20981a0ca5a87dae8 (diff) | |
download | ffmpeg-7fddac9320eec31bc9027f1b1fabac0f3aafaeb2.tar.gz |
os_support: include some headers only when needed
Originally committed as revision 24072 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r-- | libavformat/os_support.c | 6 |
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 |