aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/php5-xml
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-20 17:03:42 +0800
committerale <ale@FreeBSD.org>2004-07-20 17:03:42 +0800
commit68e6f1f1fc2a0007ea86d3734af0cef9fbc4e482 (patch)
tree3f3d86d964108b1bfcc04be916fc0406c511782f /textproc/php5-xml
parenta6060803185190d86ef0a66b899e44208051a58e (diff)
downloadfreebsd-ports-gnome-68e6f1f1fc2a0007ea86d3734af0cef9fbc4e482.tar.gz
freebsd-ports-gnome-68e6f1f1fc2a0007ea86d3734af0cef9fbc4e482.tar.zst
freebsd-ports-gnome-68e6f1f1fc2a0007ea86d3734af0cef9fbc4e482.zip
Include config.h in compat.c (fix xml compat).
Diffstat (limited to 'textproc/php5-xml')
-rw-r--r--textproc/php5-xml/files/patch-compat.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/php5-xml/files/patch-compat.c b/textproc/php5-xml/files/patch-compat.c
new file mode 100644
index 000000000000..02125961b20c
--- /dev/null
+++ b/textproc/php5-xml/files/patch-compat.c
@@ -0,0 +1,13 @@
+--- compat.c.orig Tue Jul 20 10:55:02 2004
++++ compat.c Tue Jul 20 10:55:55 2004
+@@ -16,6 +16,10 @@
+ +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+ #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT)
+ #include "expat_compat.h"