From: Pierre Joye Date: Sun, 9 Oct 2005 12:06:27 +0000 (+0000) Subject: -fix build as shared or separate from main build (bfrance) X-Git-Tag: php-5.1.0RC2~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dd9ad8f53ea9f41232ed68d9f3bde1fafd972e4;p=php -fix build as shared or separate from main build (bfrance) --- diff --git a/ext/gd/libgd/gd.h b/ext/gd/libgd/gd.h index 7cd6785c6c..19b69c1c54 100644 --- a/ext/gd/libgd/gd.h +++ b/ext/gd/libgd/gd.h @@ -5,6 +5,10 @@ extern "C" { #endif +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "php_compat.h" #ifndef WIN32 diff --git a/ext/gd/libgd/gdtables.c b/ext/gd/libgd/gdtables.c index 46f94eaea2..1e81f3e9ee 100644 --- a/ext/gd/libgd/gdtables.c +++ b/ext/gd/libgd/gdtables.c @@ -1,4 +1,8 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "php_compat.h" int gdCosT[] = diff --git a/ext/gd/libgd/wbmp.h b/ext/gd/libgd/wbmp.h index 4c239d83cf..89b64c7d1c 100644 --- a/ext/gd/libgd/wbmp.h +++ b/ext/gd/libgd/wbmp.h @@ -12,6 +12,10 @@ #ifndef __WBMP_H #define __WBMP_H 1 +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "php_compat.h" /* WBMP struct