summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/php_pdo_sqlite.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite.h')
-rw-r--r--ext/pdo_sqlite/php_pdo_sqlite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/php_pdo_sqlite.h b/ext/pdo_sqlite/php_pdo_sqlite.h
index 27e8a6a463..ea7c5a601f 100644
--- a/ext/pdo_sqlite/php_pdo_sqlite.h
+++ b/ext/pdo_sqlite/php_pdo_sqlite.h
@@ -25,6 +25,9 @@
extern zend_module_entry pdo_sqlite_module_entry;
#define phpext_pdo_sqlite_ptr &pdo_sqlite_module_entry
+#include "php_version.h"
+#define PHP_PDO_SQLITE_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif