aboutsummaryrefslogtreecommitdiff
path: root/textproc/php5-xml
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-07-20 09:03:42 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-07-20 09:03:42 +0000
commit9288478b9bbfe2aa4a77fe0254aa65cbe4000975 (patch)
treeacf5708964163f3b87f58650418d245ab01dd6fe /textproc/php5-xml
parentcf34c999bfae4fb05d435d0bfc47e850bf08fec1 (diff)
downloadports-9288478b9bbfe2aa4a77fe0254aa65cbe4000975.tar.gz
ports-9288478b9bbfe2aa4a77fe0254aa65cbe4000975.zip
Include config.h in compat.c (fix xml compat).
Notes
Notes: svn path=/head/; revision=114283
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"