diff --git a/GL/windows/ChangeLog b/GL/windows/ChangeLog index 484bc9e7b..030e4e611 100644 --- a/GL/windows/ChangeLog +++ b/GL/windows/ChangeLog @@ -1,3 +1,12 @@ +2005-02-02 Alexander Gottwald + + * glwrap.c: + * glwindows.h: + Bugzilla #1866 (https://bugs.freedesktop.org/show_bug.cgi?id=1866) + attachment #1818 (https://bugs.freedesktop.org/attachment.cgi?id=1818): + Include Xwindows.h before GL/gl.h to prevent loading windows.h which + pollutes our namespace with some symbols. + 2005-01-27 Alexander Gottwald * glwrap.c: diff --git a/GL/windows/glwindows.h b/GL/windows/glwindows.h index aa984099c..77581ddba 100644 --- a/GL/windows/glwindows.h +++ b/GL/windows/glwindows.h @@ -1,3 +1,4 @@ +#include #include #include @@ -19,9 +20,6 @@ #include #include -#define WINDOWS_LEAN_AND_CLEAN -#include - typedef struct { unsigned enableDebug : 1; diff --git a/GL/windows/glwrap.c b/GL/windows/glwrap.c index 807e51972..656edc131 100755 --- a/GL/windows/glwrap.c +++ b/GL/windows/glwrap.c @@ -5,15 +5,12 @@ * Authors: Alexander Gottwald */ +#include #include #include #include #include -#define WINDOWS_LEAN_AND_CLEAN -#include - - #define RESOLVE_RET(procname, symbol, retval) \ static Bool init = TRUE; \ static procname proc = NULL; \