X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglut_stroke.c;h=5ff3de5cfda27552e0be93b0db1fbd7178ce5f6f;hb=488f2fa8fbdbc77e91a70da2962d73af49e6cace;hp=9cd46e0e69ea8f0606769e5a7f753b7e6475b8cf;hpb=ebc241816cc8e3eec7270a594bb1a607df32bcd6;p=xscreensaver diff --git a/hacks/glx/glut_stroke.c b/hacks/glx/glut_stroke.c index 9cd46e0e..5ff3de5c 100644 --- a/hacks/glx/glut_stroke.c +++ b/hacks/glx/glut_stroke.c @@ -8,8 +8,15 @@ #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 +# else +# include +# endif +# undef APIENTRY # define APIENTRY /**/ #endif