diff options
author | Sascha Schumann <sas@php.net> | 2001-02-19 08:14:45 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-02-19 08:14:45 +0000 |
commit | 1e6be5aaf5675e43c622ce0860a2b9688bb3bee3 (patch) | |
tree | 8dc7a57cb3e988b19cba7e73911ad794b5e558f5 /ext/pgsql/php_pgsql.h | |
parent | b91b1779a5d0e637540dd4779935230476e83c37 (diff) | |
download | php-git-1e6be5aaf5675e43c622ce0860a2b9688bb3bee3.tar.gz |
Fix incompatibility with PostgreSQL CVS.
We now perform a check whether we need to include <postgres.h> to
succesfully compile.
PR: #9328
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r-- | ext/pgsql/php_pgsql.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index e53670a1af..22ccfe2c75 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -29,7 +29,9 @@ extern zend_module_entry pgsql_module_entry; #ifdef PHP_PGSQL_PRIVATE #undef SOCKET_SIZE_TYPE +#ifdef PHP_PGSQL_NEEDS_POSTGRES_H #include <postgres.h> +#endif #include <libpq-fe.h> #ifdef PHP_WIN32 |