X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fxpm-ximage.c;h=ded8bbb5567d19bc7d5c210fd34026533aaae9c4;hp=44f64dbf3d97ae2425e03d11ce326fdc9a642045;hb=f54438ea00f152166e68073e98000fd3a00f65cd;hpb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b diff --git a/hacks/glx/xpm-ximage.c b/hacks/glx/xpm-ximage.c index 44f64dbf..ded8bbb5 100644 --- a/hacks/glx/xpm-ximage.c +++ b/hacks/glx/xpm-ximage.c @@ -14,16 +14,17 @@ # include "config.h" #endif -#ifdef HAVE_XPM /* whole file */ - #include #include #include -#include -#include extern char *progname; +#ifdef HAVE_XPM /* whole file */ + +#include +#include + static Bool bigendian (void) { @@ -135,7 +136,7 @@ xpm_to_ximage (Display *dpy, Visual *visual, Colormap cmap, char **xpm_data) #else /* !HAVE_XPM */ -static XImage * +XImage * xpm_to_ximage (char **xpm_data) { fprintf(stderr, "%s: not compiled with XPM support.\n", progname);