X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglut_stroke.c;h=5ff3de5cfda27552e0be93b0db1fbd7178ce5f6f;hp=b7a783d1a705fe53f9b46e9ce80b63c8214e9e4a;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hpb=ccb7f4903325f92555a9722bba74b58346654ba0 diff --git a/hacks/glx/glut_stroke.c b/hacks/glx/glut_stroke.c index b7a783d1..5ff3de5c 100644 --- a/hacks/glx/glut_stroke.c +++ b/hacks/glx/glut_stroke.c @@ -8,8 +8,14 @@ #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