about summary refs log tree commit diff
path: root/pkgs/development/interpreters/php/fix-fileinfo-ext-php83.patch
blob: fbd6a66dbd14d8d4887da36dc40a80cb9957006e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"