GL/gl.h can't be included at the first position in windows. It requires
the inclusion of windows.h that must be included in other fgfs header
file. I only move down #include <GL/gl.h>
-#include <GL/gl.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <Main/fg_props.hxx>
#include <Cockpit/panel.hxx>
#include <Cockpit/panel_io.hxx>
+#include <GL/gl.h>
#include "panelnode.hxx"
FGPanelNode::FGPanelNode(SGPropertyNode* props)