Index: /trunk/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
===================================================================
--- /trunk/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp	(revision 86858)
+++ /trunk/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp	(revision 86859)
@@ -50,12 +50,12 @@
 #endif /* VBOXGLTEST_WITH_LOGGING */
 
-#ifndef RT_OS_WINDOWS
-# include <GL/gl.h> /* For GLubyte and friends. */
-#endif
-
 #ifdef VBOX_WITH_VIDEOHWACCEL
 # include <QGLWidget>
 # include <QApplication>
 # include <VBox/VBoxGL2D.h>
+#endif
+
+#ifndef RT_OS_WINDOWS
+# include <GL/gl.h> /* For GLubyte and friends. */
 #endif
 
