aboutsummaryrefslogtreecommitdiffstats
path: root/common/dynload.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/dynload.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/dynload.h b/common/dynload.h
index 54a47b219..f6ec8753b 100644
--- a/common/dynload.h
+++ b/common/dynload.h
@@ -34,7 +34,9 @@
#ifndef __MINGW32__
# include <dlfcn.h>
#else
-# include <windows.h>
+# include <errhandlingapi.h>
+# include <handleapi.h>
+# include <libloaderapi.h>
# include "utf8conv.h"
# include "mischelp.h"
# define RTLD_LAZY 0