ext/gd/libgd/gd.h php-5.1.1/ext/gd/libgd/gd.h --- php-5.0.5/ext/gd/libgd/gd.h 2004-07-23 00:59:11.000000000 +0200 +++ php-5.1.1/ext/gd/libgd/gd.h 2005-10-09 14:06:27.000000000 +0200 @@ -5,6 +5,12 @@ extern "C" { #endif +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "php_compat.h" + #ifndef WIN32 /* default fontpath for unix systems */ #define DEFAULT_FONTPATH "/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:." diff -Nru php-5.0.5/ext/gd/libgd/gdtables.c php-5.1.1/ext/gd/libgd/gdtables.c --- php-5.0.5/ext/gd/libgd/gdtables.c 2002-04-13 04:03:09.000000000 +0200 +++ php-5.1.1/ext/gd/libgd/gdtables.c 2005-10-09 14:06:27.000000000 +0200 @@ -1,4 +1,10 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "php_compat.h" + int gdCosT[] = { 1024, diff -Nru php-5.0.5/ext/gd/libgd/wbmp.h php-5.1.1/ext/gd/libgd/wbmp.h --- php-5.0.5/ext/gd/libgd/wbmp.h 2003-12-28 21:11:08.000000000 +0100 +++ php-5.1.1/ext/gd/libgd/wbmp.h 2005-10-09 14:06:27.000000000 +0200 @@ -12,6 +12,11 @@ #ifndef __WBMP_H #define __WBMP_H 1 +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "php_compat.h" /* WBMP struct ** -----------