summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx3
-rw-r--r--src/config_lib.h8
2 files changed, 6 insertions, 5 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index da93fd399..1468d44dc 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -44,7 +44,8 @@ extern int fl_gl_load_plugin;
// ------ this should be in a separate file! -----------------------------------
#ifdef FL_CFG_GFX_OPENGL
-#include <FL/Fl_Device.h>
+#include <FL/Fl_Device.H>
+#include <FL/gl.h>
/**
\brief OpenGL pecific graphics class.
diff --git a/src/config_lib.h b/src/config_lib.h
index 6e5c8738b..3ee30ee52 100644
--- a/src/config_lib.h
+++ b/src/config_lib.h
@@ -26,7 +26,7 @@
# define FL_CFG_GFX_OPENGL
# endif
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: please choose a core graphics library
+# pragma message "FL_PORTING: please choose a core graphics library"
#else // X11
# define FL_CFG_GFX_XLIB
# ifdef HAVE_GL
@@ -45,7 +45,7 @@
#elif defined(WIN32)
# define FL_CFG_WIN_WIN32
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: please choose a graphics driver library
+# pragma message "FL_PORTING: please choose a graphics driver library"
#else // X11
# define FL_CFG_GFX_PS
#endif
@@ -61,7 +61,7 @@
#elif defined(WIN32)
# define FL_CFG_WIN_WIN32
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: please choose a window management library
+# pragma message "FL_PORTING: please choose a window management library"
#else // X11
# define FL_CFG_GFX_X11
#endif
@@ -77,7 +77,7 @@
#elif defined(WIN32)
# define FL_CFG_SYS_WIN32
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: please choose a system library
+# pragma message "FL_PORTING: please choose a system library"
#else // X11
# define FL_CFG_SYS_POSIX
#endif