X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glimports.hpp;h=7207523fdfa65c3018301a3598ab50b5d714931b;hb=6ac796e56d4b4279fded79b34ec4beb90a17928f;hp=65b0aca1f2977e9ca534830d8eac982918080dec;hpb=792be354f0cf16ff09e343d75e7556421d48ef22;p=apitrace diff --git a/glimports.hpp b/glimports.hpp index 65b0aca..7207523 100644 --- a/glimports.hpp +++ b/glimports.hpp @@ -65,7 +65,10 @@ #else +#ifdef HAVE_X11 #include +#endif + #include #endif /* !_WIN32 */ @@ -134,8 +137,10 @@ CGLError CGLUpdateContext(CGLContextObj ctx); #else +#ifdef HAVE_X11 #include #include "glext/glxext.h" +#endif /* Prevent collision with trace::Bool */ #undef Bool