X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglut_stroke.c;h=59850ea76c43c010d7aede3435716f1749799417;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hp=9cd46e0e69ea8f0606769e5a7f753b7e6475b8cf;hpb=ebc241816cc8e3eec7270a594bb1a607df32bcd6;p=xscreensaver diff --git a/hacks/glx/glut_stroke.c b/hacks/glx/glut_stroke.c index 9cd46e0e..59850ea7 100644 --- a/hacks/glx/glut_stroke.c +++ b/hacks/glx/glut_stroke.c @@ -8,8 +8,25 @@ #if 0 /* for Mesa */ # include "glutint.h" #else /* for xscreensaver */ -# include "config.h" -# include + +# ifdef HAVE_CONFIG_H +# include "config.h" +# endif + +# ifdef HAVE_COCOA +# include "jwxyz.h" +# elif defined(HAVE_ANDROID) +# include "jwxyz.h" +# include +# else /* real X11 */ +# include +# endif + +# ifdef HAVE_JWZGLES +# include "jwzgles.h" +# endif /* HAVE_JWZGLES */ + +# undef APIENTRY # define APIENTRY /**/ #endif