diff src/graphics/opengl/gl-render.h @ 7845:25f5d628bc8a

Fix OpenGL/FLTK compilation under Windows. * * * fltk_backend/Makefile.in: add GRAPHICS_CFLAGS variable.
author Michael Goffioul <michael.goffioul@gmail.com>
date Tue, 26 Feb 2008 12:04:20 +0100
parents caab78e7e377
children 35e8d6199455
line wrap: on
line diff
--- a/src/graphics/opengl/gl-render.h
+++ b/src/graphics/opengl/gl-render.h
@@ -23,6 +23,12 @@
 #if !defined (gl_render_h)
 #define gl_render_h 1
 
+#include "config.h"
+
+#ifdef HAVE_WINDOWS_H
+#include <windows.h>
+#endif
+
 #include <GL/gl.h>
 #include <GL/glu.h>