1
0
Fork 0

Fix a bug reported by Frederic Bouvier:

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>
This commit is contained in:
david 2002-07-03 04:09:27 +00:00
parent e4d014a959
commit b3bb53b67f

View file

@ -1,7 +1,11 @@
#include <GL/gl.h> #ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <Main/fg_props.hxx> #include <Main/fg_props.hxx>
#include <Cockpit/panel.hxx> #include <Cockpit/panel.hxx>
#include <Cockpit/panel_io.hxx> #include <Cockpit/panel_io.hxx>
#include <GL/gl.h>
#include "panelnode.hxx" #include "panelnode.hxx"
FGPanelNode::FGPanelNode(SGPropertyNode* props) FGPanelNode::FGPanelNode(SGPropertyNode* props)