summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 3e5fcbe851..1b31c75b31 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -29,6 +29,9 @@
extern zend_module_entry pgsql_module_entry;
#define pgsql_module_ptr &pgsql_module_entry
+#include "php_version.h"
+#define PHP_PGSQL_VERSION PHP_VERSION
+
#ifdef PHP_PGSQL_PRIVATE
#undef SOCKET_SIZE_TYPE
#include <libpq-fe.h>