Include os_support.h only when needed
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a960a1e041
commit
087b327287
@ -890,8 +890,6 @@ int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size);
|
|||||||
|
|
||||||
#ifdef HAVE_AV_CONFIG_H
|
#ifdef HAVE_AV_CONFIG_H
|
||||||
|
|
||||||
#include "os_support.h"
|
|
||||||
|
|
||||||
void __dynarray_add(unsigned long **tab_ptr, int *nb_ptr, unsigned long elem);
|
void __dynarray_add(unsigned long **tab_ptr, int *nb_ptr, unsigned long elem);
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include "os_support.h"
|
||||||
|
|
||||||
#ifndef HAVE_SYS_POLL_H
|
#ifndef HAVE_SYS_POLL_H
|
||||||
#ifdef HAVE_WINSOCK2_H
|
#ifdef HAVE_WINSOCK2_H
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "network.h"
|
#include "network.h"
|
||||||
|
#include "os_support.h"
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
typedef struct TCPContext {
|
typedef struct TCPContext {
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "network.h"
|
#include "network.h"
|
||||||
|
#include "os_support.h"
|
||||||
|
|
||||||
#ifndef IPV6_ADD_MEMBERSHIP
|
#ifndef IPV6_ADD_MEMBERSHIP
|
||||||
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
|
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user