Commit ee4f7d3f authored by lucabe's avatar lucabe

Include os_support.h only when needed


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11073 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 79b1c1a5
...@@ -890,8 +890,6 @@ int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size); ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment