summaryrefslogtreecommitdiff
path: root/textproc/php85-xml/files/patch-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php85-xml/files/patch-compat.c')
-rw-r--r--textproc/php85-xml/files/patch-compat.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/php85-xml/files/patch-compat.c b/textproc/php85-xml/files/patch-compat.c
new file mode 100644
index 000000000000..0752de99e2da
--- /dev/null
+++ b/textproc/php85-xml/files/patch-compat.c
@@ -0,0 +1,13 @@
+--- compat.c.orig 2023-06-06 15:54:29 UTC
++++ compat.c
+@@ -14,6 +14,10 @@
+ +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+ #if defined(HAVE_LIBXML) && (defined(HAVE_XML) || defined(HAVE_XMLRPC)) && !defined(HAVE_LIBEXPAT)
+ #include "expat_compat.h"