summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorJouni Ahto <jah@php.net>2000-05-23 06:03:34 +0000
committerJouni Ahto <jah@php.net>2000-05-23 06:03:34 +0000
commitc32de173c3b8e3eb878d1edcd2c8ec803ba1aee5 (patch)
tree20e4064d18b9633cb7881fa955d7c31404ed6428 /ext/pgsql/php_pgsql.h
parent78cec9f33ef75a357c2a020cb85b425bbf39566b (diff)
downloadphp-git-c32de173c3b8e3eb878d1edcd2c8ec803ba1aee5.tar.gz
According to current PostgreSQL docs, using PQoidStatus() is deprecated.
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index f0ec320aed..559a0249fe 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -43,7 +43,8 @@ extern zend_module_entry pgsql_module_entry;
#define pgsql_module_ptr &pgsql_module_entry
#ifdef PHP_PGSQL_PRIVATE
-
+#undef SOCKET_SIZE_TYPE
+#include <postgres.h>
#include <libpq-fe.h>
#if (WIN32||WINNT)