X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglut_swidth.c;h=185571d167cd31e0da097c10e97adad56c4741b8;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hp=076858660b324fb8f7c5ab037fb36423428a26c2;hpb=ebc241816cc8e3eec7270a594bb1a607df32bcd6;p=xscreensaver diff --git a/hacks/glx/glut_swidth.c b/hacks/glx/glut_swidth.c index 07685866..185571d1 100644 --- a/hacks/glx/glut_swidth.c +++ b/hacks/glx/glut_swidth.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