]> granicus.if.org Git - php/commitdiff
-fix build as shared or separate from main build (bfrance)
authorPierre Joye <pajoye@php.net>
Sun, 9 Oct 2005 12:06:27 +0000 (12:06 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 9 Oct 2005 12:06:27 +0000 (12:06 +0000)
ext/gd/libgd/gd.h
ext/gd/libgd/gdtables.c
ext/gd/libgd/wbmp.h

index 7cd6785c6ce6da29f93eb0db9e85874259f9b4dd..19b69c1c54017f009d386c913357224cc9ed3b15 100644 (file)
@@ -5,6 +5,10 @@
 extern "C" {
 #endif
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php_compat.h"
 
 #ifndef WIN32
index 46f94eaea2e0ab6ce20a5a94385a9f6bd1a1be2b..1e81f3e9ee5fa376a904da81e87f89f13a4aaa86 100644 (file)
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php_compat.h"
 
 int gdCosT[] =
index 4c239d83cf2a189cf528cb7da630e6fc6e856d80..89b64c7d1c0dae3ce7190f42a840d342b4132a0d 100644 (file)
 #ifndef __WBMP_H
 #define __WBMP_H       1
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php_compat.h"
 
 /* WBMP struct