PHP 4.0 Bug #3056: Wrong includes in ext/pgsql/php3_pgsql.h
| From: | php at ragnark dot vestdata dot no | Date: | Tue, 28 Dec 1999 13:32:14 +0000 |
| Subject: | PHP 4.0 Bug #3056: Wrong includes in ext/pgsql/php3_pgsql.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14082@lists.php.net to get a copy of this message | ||
From: php@ragnark.vestdata.no
Operating system: RH 6.0 i386
PHP version: 4.0 Beta 3
PHP Bug Type: Compile Failure
Bug description: Wrong includes in ext/pgsql/php3_pgsql.h
php didn't compile because non-existing files were included in ext/pgsql/php3_pgsql.h. The
postgresql-devel-6.5-1.rpm includes:
/usr/include/pgsql/libpq-fe.h
/usr/include/pgsql/libpq-int.h
/usr/include/pgsql/libpq/libpq-fs.h
I believe postgres changed the names of theese files in the 6.5 release - so the problem is probably
not RedHat specific.
--- php-4.0b3/ext/pgsql/php3_pgsql.h.orig Tue Dec 28 13:51:20 1999
+++ php-4.0b3/ext/pgsql/php3_pgsql.h Tue Dec 28 13:51:45 1999
@@ -43,8 +43,8 @@
#define pgsql_module_ptr &pgsql_module_entry
-#include <libpq-fe.h>
-#include <libpq/libpq-fs.h>
+#include <pgsql/libpq-fe.h>
+#include <pgsql/libpq/libpq-fs.h>
extern int php3_minit_pgsql(INIT_FUNC_ARGS);
extern int php3_rinit_pgsql(INIT_FUNC_ARGS);