summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-03-31 01:18:32 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-03-31 01:18:32 +0000
commit7ff14124327887b34cf5c99f8475f1626b2a76c3 (patch)
tree0fc3b53fd6d57aeab6150d3c5e8ed72dd4a3f8c3 /ext/pgsql/php_pgsql.h
parentc5d35962d23df3ecedaf9892bf9a4d495840c5f1 (diff)
downloadphp-git-7ff14124327887b34cf5c99f8475f1626b2a76c3.tar.gz
Print PostgreSQL version number in phpinfo()
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 03390696c5..85573d8ad8 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -38,6 +38,10 @@ extern zend_module_entry pgsql_module_entry;
#include <libpq/libpq-fs.h>
#endif
+#ifdef HAVE_PG_CONFIG_H
+#include <pg_config.h>
+#endif
+
#ifdef HAVE_PGSQL_WITH_MULTIBYTE_SUPPORT
const char * pg_encoding_to_char(int encoding);
#endif