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:
parent
81f460a373
commit
7fddac9320
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue