summaryrefslogtreecommitdiff
path: root/src/php_snuffleupagus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/php_snuffleupagus.h')
-rw-r--r--src/php_snuffleupagus.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h
index dae2154..5919126 100644
--- a/src/php_snuffleupagus.h
+++ b/src/php_snuffleupagus.h
@@ -4,7 +4,7 @@
4#define PHP_SNUFFLEUPAGUS_VERSION "0.5.0" 4#define PHP_SNUFFLEUPAGUS_VERSION "0.5.0"
5#define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" 5#define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus"
6#define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System" 6#define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System"
7#define PHP_SNUFFLEUPAGUS_URL "https://github.com/nbs-system/snuffleupagus" 7#define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus"
8#define PHP_SNUFFLEUPAGUS_COPYRIGHT "LGPLv2" 8#define PHP_SNUFFLEUPAGUS_COPYRIGHT "LGPLv2"
9 9
10#ifdef HAVE_CONFIG_H 10#ifdef HAVE_CONFIG_H
@@ -26,6 +26,7 @@
26#include <sys/socket.h> 26#include <sys/socket.h>
27#include <sys/types.h> 27#include <sys/types.h>
28#include <sys/wait.h> 28#include <sys/wait.h>
29#include <sys/syslog.h>
29 30
30#include "SAPI.h" 31#include "SAPI.h"
31#include "ext/session/php_session.h" 32#include "ext/session/php_session.h"
@@ -56,6 +57,10 @@
56#if PHP_VERSION_ID < 70200 57#if PHP_VERSION_ID < 70200
57typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS); 58typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS);
58#endif 59#endif
60#if PHP_VERSION_ID >= 80000
61#define TSRMLS_FETCH()
62#define TSRMLS_C
63#endif
59 64
60#include "sp_pcre_compat.h" 65#include "sp_pcre_compat.h"
61#include "sp_list.h" 66#include "sp_list.h"