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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 0486801fe5..f0ec320aed 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -42,6 +42,7 @@
extern zend_module_entry pgsql_module_entry;
#define pgsql_module_ptr &pgsql_module_entry
+#ifdef PHP_PGSQL_PRIVATE
#include <libpq-fe.h>
@@ -138,6 +139,7 @@ typedef struct {
# define PGLS_FETCH()
extern PHP_PGSQL_API php_pgsql_globals pgsql_globals;
#endif
+#endif
#else