summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index b3108d0676..258e6b30c0 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -46,6 +46,10 @@
#include <GL/glext.h>
#endif
+#if HAVE_GL_WIN32
+#include <windows.h>
+#endif
+
#define MP_GET_GL_WORKAROUNDS
#include "header_fixes.h"