From b3bb53b67f31905b7f36450636696d839c94a755 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 3 Jul 2002 04:09:27 +0000 Subject: [PATCH] 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 --- src/Model/panelnode.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)