Attached patch fixes a build error on my system (Ubuntu 14.04, mingw-w64
3.1.0, gcc-mingw-w64 4.8.2) introduced by commit
3bf142c77337814458ed8e036796934032d9837f.
As the original commit has been backported to older releases (2.8, 3.0
and 3.1 as far as I can see) it probably makes sense to backport this
fix, too.
Regards,
Tobias
>From 97c153fab37a44946e54fcea6b48259cb0c24143 Mon Sep 17 00:00:00 2001
From: Tobias Rapp <[email protected]>
Date: Mon, 29 Aug 2016 15:25:58 +0200
Subject: [PATCH] cmdutils: fix implicit declaration of SetDllDirectory
function
Signed-off-by: Tobias Rapp <[email protected]>
---
cmdutils.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cmdutils.c b/cmdutils.c
index 6960f8c..44f44cd 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -61,6 +61,9 @@
#include <sys/time.h>
#include <sys/resource.h>
#endif
+#ifdef _WIN32
+#include <windows.h>
+#endif
static int init_report(const char *env);
--
1.9.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel