summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-09-28 19:01:01 +1300
committerOlly Betts <olly@survex.com>2022-09-28 19:01:01 +1300
commit246dd2d787ffe7fda72598415e0768482acf053e (patch)
tree1024d580b00553ad981c7fc885296c2b89478726 /Lib
parent55c95d475cc0deebdc35564aa39875fe03d72c35 (diff)
downloadswig-246dd2d787ffe7fda72598415e0768482acf053e.tar.gz
[php] Workaround PHP 8.2 header problem
We need to include php.h before stdio.h (and probably before most other libc headers).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/php/phprun.swg2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/php/phprun.swg b/Lib/php/phprun.swg
index a81baf001..538b7e165 100644
--- a/Lib/php/phprun.swg
+++ b/Lib/php/phprun.swg
@@ -10,8 +10,6 @@
extern "C" {
#endif
-#include "php.h"
-
#if PHP_MAJOR_VERSION < 7
# error These bindings need PHP 7 or later - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5
#endif