cmdutils: fix implicit declaration of SetDllDirectory function
authorTobias Rapp <t.rapp@noa-archive.com>
Mon, 29 Aug 2016 13:25:58 +0000 (15:25 +0200)
committerJames Almer <jamrial@gmail.com>
Mon, 29 Aug 2016 23:00:51 +0000 (20:00 -0300)
Pre-processor check changed by commiter.

Signed-off-by: James Almer <jamrial@gmail.com>
cmdutils.c

index a725e77..3bb8bde 100644 (file)
@@ -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);