From a5e979f42cd92136de00761d4e5ca3b4079a3207 Mon Sep 17 00:00:00 2001
From: Ramiro Polla <ramiro.polla@gmail.com>
Date: Thu, 22 Nov 2007 02:27:39 +0000
Subject: [PATCH] os_support.h is also needed for usleep and lseek on MinGW.

Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffmpeg.c           | 1 +
 libavformat/file.c | 1 +
 libavformat/http.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 42f0b218d45..8ea5b3a6a09 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 f61130694fd..6285c1bba2b 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 5bfd7368852..240840a2716 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"
-- 
GitLab