OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f460a
)
os_support: include some headers only when needed
author
Måns Rullgård
<mans@mansr.com>
Tue, 6 Jul 2010 11:42:52 +0000
(11:42 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 6 Jul 2010 11:42:52 +0000
(11:42 +0000)
Originally committed as revision 24072 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/os_support.c
patch
|
blob
|
history
diff --git
a/libavformat/os_support.c
b/libavformat/os_support.c
index
2786303
..
83f0820
100644
(file)
--- 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