X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglut_stroke.c;h=455e3db0dd4da49a4957f646fd3fc34b67d66149;hb=c141c2b05e374757b6499d12bb8a6d4d943b1529;hp=9cd46e0e69ea8f0606769e5a7f753b7e6475b8cf;hpb=ebc241816cc8e3eec7270a594bb1a607df32bcd6;p=xscreensaver diff --git a/hacks/glx/glut_stroke.c b/hacks/glx/glut_stroke.c index 9cd46e0e..455e3db0 100644 --- a/hacks/glx/glut_stroke.c +++ b/hacks/glx/glut_stroke.c @@ -8,8 +8,16 @@ #if 0 /* for Mesa */ # include "glutint.h" #else /* for xscreensaver */ -# include "config.h" -# include +# ifdef HAVE_CONFIG_H +# include "config.h" +# endif +# ifndef HAVE_COCOA +# include +# endif +# ifdef HAVE_JWZGLES +# include "jwzgles.h" +# endif /* HAVE_JWZGLES */ +# undef APIENTRY # define APIENTRY /**/ #endif