diff options
author | Jeff Garzik <jgarzik@src.gnome.org> | 1998-12-24 19:39:00 +0000 |
---|---|---|
committer | Jeff Garzik <jgarzik@src.gnome.org> | 1998-12-24 19:39:00 +0000 |
commit | fc07d22a539cdfb436065538237a7f9a135bc5c4 (patch) | |
tree | 9759e397f87298dce2a44a9a2a4df34633d403d1 /gdk/gdkrgb.c | |
parent | 553fa4309eb849f592afa0aead4c669be21ac117 (diff) | |
download | gdk-pixbuf-fc07d22a539cdfb436065538237a7f9a135bc5c4.tar.gz |
x Pull in string.h for various mem*() and str*() functions, in an
x
Pull in string.h for various mem*() and str*() functions,
in an autoconf-friendly way.
x
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r-- | gdk/gdkrgb.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index 818b29f3d..542e61d37 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -23,8 +23,19 @@ */ #include <math.h> -#include <stdio.h> -#include <stdlib.h> + +#if HAVE_CONFIG_H +# include <config.h> +# if STDC_HEADERS +# include <stdio.h> +# include <stdlib.h> +# include <string.h> +# endif +#else +# include <stdio.h> +# include <stdlib.h> +#endif + #define ENABLE_GRAYSCALE |