summaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/opengl_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index 6be0398..4e25f19 100644
--- a/libavdevice/opengl_enc.c
+++ b/libavdevice/opengl_enc.c
@@ -30,6 +30,9 @@
#include "config.h"
+#if HAVE_WINDOWS_H
+#include <windows.h>
+#endif
#if HAVE_OPENGL_GL3_H
#include <OpenGL/gl3.h>
#elif HAVE_ES2_GL_H
@@ -41,9 +44,6 @@
#if HAVE_GLXGETPROCADDRESS
#include <GL/glx.h>
#endif
-#if HAVE_WINDOWS_H
-#include <windows.h>
-#endif
#if HAVE_SDL
#include <SDL.h>
OpenPOWER on IntegriCloud