aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-11-22 02:27:39 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-11-22 02:27:39 +0000
commita5e979f42cd92136de00761d4e5ca3b4079a3207 (patch)
tree2905ec29e3694ca9602a3d6827c91fb9adfcc21b
parent82821c913b672865092cf7253cbc4f35c1dcd66b (diff)
downloadffmpeg-a5e979f42cd92136de00761d4e5ca3b4079a3207.tar.gz
os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c1
-rw-r--r--libavformat/file.c1
-rw-r--r--libavformat/http.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 42f0b218d4..8ea5b3a6a0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -33,6 +33,7 @@
#include "opt.h"
#include "fifo.h"
#include "avstring.h"
+#include "os_support.h"
#if !defined(HAVE_GETRUSAGE) && defined(HAVE_GETPROCESSTIMES)
#include <windows.h>
diff --git a/libavformat/file.c b/libavformat/file.c
index f61130694f..6285c1bba2 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -24,6 +24,7 @@
#include <unistd.h>
#include <sys/time.h>
#include <stdlib.h>
+#include "os_support.h"
/* standard file protocol */
diff --git a/libavformat/http.c b/libavformat/http.c
index 5bfd736885..240840a271 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -21,6 +21,7 @@
#include "avformat.h"
#include <unistd.h>
#include "network.h"
+#include "os_support.h"
#include "base64.h"
#include "avstring.h"