mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
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
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user