X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2Fscreen-dump.cxx;h=ce4b5c45ff1e5bcb9fa8718382c1a6ba9144b80c;hb=dc09a50472890ac706d3c76d8af34cc3682ada0c;hp=27c6e9bc8b8666f4fbfd87d43ac9291b6346b522;hpb=cb2df234aeab0961fd783ba4ed503a67f4c04afe;p=simgear.git diff --git a/simgear/screen/screen-dump.cxx b/simgear/screen/screen-dump.cxx index 27c6e9bc..ce4b5c45 100644 --- a/simgear/screen/screen-dump.cxx +++ b/simgear/screen/screen-dump.cxx @@ -24,15 +24,21 @@ # include #endif -#ifdef HAVE_WINDOWS_H -# include +#if defined(__CYGWIN__) /* && !defined(USING_X) */ +#define WIN32 +#endif + +#if defined(WIN32) /* MINGW and MSC predefine WIN32 */ +# include #endif #include #include #include -#include GLUT_H +#include + +#include SG_GL_H #include "screen-dump.hxx"