[FFmpeg-cvslog] cmdutils: fix implicit declaration of SetDllDirectory function

Tobias Rapp git at videolan.org
Tue Aug 30 05:09:52 EEST 2016


ffmpeg | branch: release/3.0 | Tobias Rapp <t.rapp at noa-archive.com> | Mon Aug 29 15:25:58 2016 +0200| [426b959e37bd1e27f369b887a4d2e3771a88033f] | committer: James Almer

cmdutils: fix implicit declaration of SetDllDirectory function

Pre-processor check changed by commiter.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=426b959e37bd1e27f369b887a4d2e3771a88033f
---

 cmdutils.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmdutils.c b/cmdutils.c
index a725e77..3bb8bde 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -61,6 +61,9 @@
 #include <sys/time.h>
 #include <sys/resource.h>
 #endif
+#if HAVE_SETDLLDIRECTORY
+#include <windows.h>
+#endif
 
 static int init_report(const char *env);
 



More information about the ffmpeg-cvslog mailing list