aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-archive.com>2016-08-29 15:25:58 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-08-23 13:15:16 +0200
commitf1b8807dae25700322fa8638a20fe41209423b87 (patch)
treebfa8c8d38ca65d35cb4a6b0d43212cb92a3ce361
parentafcede09b658f00182cc42a491a279b516ec5358 (diff)
downloadffmpeg-f1b8807dae25700322fa8638a20fe41209423b87.tar.gz
cmdutils: fix implicit declaration of SetDllDirectory function
Pre-processor check changed by commiter. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit c32ce247a026eda99b3ea5ad46c6bbc5c5907e1a) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--cmdutils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 06c696b7f7..c31cb96a60 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -58,6 +58,9 @@
#include <sys/time.h>
#include <sys/resource.h>
#endif
+#if HAVE_SETDLLDIRECTORY
+#include <windows.h>
+#endif
static int init_report(const char *env);