X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fglx%2Fextrusion-screw.c;h=3d84a5ce72794c9dbd1060b84678fde37ee86f47;hb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183;hp=16f12b1286cacdd7b9ec2296d9b255209d420109;hpb=c596d1306f5f92f7eab76224d3b049980a14adcb;p=xscreensaver diff --git a/hacks/glx/extrusion-screw.c b/hacks/glx/extrusion-screw.c index 16f12b12..3d84a5ce 100644 --- a/hacks/glx/extrusion-screw.c +++ b/hacks/glx/extrusion-screw.c @@ -12,11 +12,19 @@ */ /* required include files */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include #include +#ifdef HAVE_GLE3 +#include +#else #include +#endif #ifndef NULL #define NULL ((void *) 0x0) @@ -42,8 +50,8 @@ #define NUM_PTS (25) -double contour [NUM_PTS][2]; -double norms [NUM_PTS][2]; +static double contour [NUM_PTS][2]; +static double norms [NUM_PTS][2]; static void init_contour (void) {