From 1e6be5aaf5675e43c622ce0860a2b9688bb3bee3 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 19 Feb 2001 08:14:45 +0000 Subject: Fix incompatibility with PostgreSQL CVS. We now perform a check whether we need to include to succesfully compile. PR: #9328 --- ext/pgsql/php_pgsql.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pgsql/php_pgsql.h') 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 +#endif #include #ifdef PHP_WIN32 -- cgit v1.2.1