about summary refs log tree commit diff
path: root/pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch')
-rw-r--r--pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch b/pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch
new file mode 100644
index 000000000000..fbd6a66dbd14
--- /dev/null
+++ b/pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch
@@ -0,0 +1,14 @@
+diff --git a/ext/fileinfo/fileinfo.c b/ext/fileinfo/fileinfo.c
+index a6f3e64db6..c3047233db 100644
+--- a/ext/fileinfo/fileinfo.c
++++ b/ext/fileinfo/fileinfo.c
+@@ -14,6 +14,9 @@
+   +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
+ #include "php.h"
+
+ #include "libmagic/magic.h"