From: ehofman Date: Tue, 16 Mar 2004 09:39:22 +0000 (+0000) Subject: Further refinement of the Cygwin problem as suggested by Frederic. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f08d9604eeb060afdde24ea4d8fc7a8181d5fd3;p=simgear.git Further refinement of the Cygwin problem as suggested by Frederic. --- diff --git a/simgear/scene/sky/clouds3d/glut_shapes.c b/simgear/scene/sky/clouds3d/glut_shapes.c index e9c69f62..e8796cf4 100644 --- a/simgear/scene/sky/clouds3d/glut_shapes.c +++ b/simgear/scene/sky/clouds3d/glut_shapes.c @@ -48,17 +48,11 @@ OpenGL(TM) is a trademark of Silicon Graphics, Inc. # include #endif - -#ifdef HAVE_WINDOWS_H -# include -#endif - +#include "glut_shapes.h" #include - #include -#include "glut_shapes.h" /* Some files do not define M_PI... */ #ifndef M_PI diff --git a/simgear/scene/sky/clouds3d/glut_shapes.h b/simgear/scene/sky/clouds3d/glut_shapes.h index 9a02767a..42bd3061 100644 --- a/simgear/scene/sky/clouds3d/glut_shapes.h +++ b/simgear/scene/sky/clouds3d/glut_shapes.h @@ -6,17 +6,12 @@ # include #endif - -#ifdef HAVE_WINDOWS_H -# include -#endif - -#include - #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) # include #endif +#include + #ifdef __cplusplus extern "C" { #endif