From: david Date: Wed, 3 Jul 2002 04:09:27 +0000 (+0000) Subject: Fix a bug reported by Frederic Bouvier: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3bb53b67f31905b7f36450636696d839c94a755;p=flightgear.git 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 --- diff --git a/src/Model/panelnode.cxx b/src/Model/panelnode.cxx index e49f3197b..5b979f6aa 100644 --- a/src/Model/panelnode.cxx +++ b/src/Model/panelnode.cxx @@ -1,7 +1,11 @@ -#include +#ifdef HAVE_CONFIG_H +# include +#endif + #include
#include #include +#include #include "panelnode.hxx" FGPanelNode::FGPanelNode(SGPropertyNode* props)