diff options
author | Pierre Joye <pajoye@php.net> | 2005-10-09 12:06:27 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2005-10-09 12:06:27 +0000 |
commit | 5dd9ad8f53ea9f41232ed68d9f3bde1fafd972e4 (patch) | |
tree | 0485bb3e41481e397f456ced583a9ca9b66e4d2f | |
parent | 5ef3e0c57b82c9ef6f4b815259fb23215c2f0532 (diff) | |
download | php-git-5dd9ad8f53ea9f41232ed68d9f3bde1fafd972e4.tar.gz |
-fix build as shared or separate from main build (bfrance)
-rw-r--r-- | ext/gd/libgd/gd.h | 4 | ||||
-rw-r--r-- | ext/gd/libgd/gdtables.c | 4 | ||||
-rw-r--r-- | ext/gd/libgd/wbmp.h | 4 |
3 files changed, 12 insertions, 0 deletions
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 |