aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/dlopen.c')
-rw-r--r--src/mesa/main/dlopen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c
index 0fc0c21e94a..338246bb59b 100644
--- a/src/mesa/main/dlopen.c
+++ b/src/mesa/main/dlopen.c
@@ -33,6 +33,9 @@
#if defined(_GNU_SOURCE) && !defined(__MINGW32__)
#include <dlfcn.h>
#endif
+#if defined(_WIN32)
+#include <windows.h>
+#endif
/**