Răsfoiți Sursa

check_pgsql now builds with postgres lib v8.3 (Jan Wagner #1878972)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1934 f882894a-f735-0410-b71e-b25c423dba1c
Matthias Eble 18 ani în urmă
părinte
comite
b572da0b37
2 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 1 0
      NEWS
  2. 1 0
      plugins/check_pgsql.c

+ 1 - 0
NEWS

@@ -11,6 +11,7 @@ This file documents the major additions and syntax changes between releases.
 	Fix bugs and flaws in best offset server selection of check_ntp_time and (deprecated) check_ntp
 	Fix bugs and flaws in best offset server selection of check_ntp_time and (deprecated) check_ntp
 	check_ntp_peer now checks for the LI_ALARM flag
 	check_ntp_peer now checks for the LI_ALARM flag
 	Sync to latest Gnulib (includes new floorf function)
 	Sync to latest Gnulib (includes new floorf function)
+	check_pgsql now successfully builds with postgres lib v8.3 (Bug #1878972)  
 
 
 1.4.11 13th December 2007
 1.4.11 13th December 2007
 	Fixed check_http regression in 1.4.10 where following redirects to
 	Fixed check_http regression in 1.4.10 where following redirects to

+ 1 - 0
plugins/check_pgsql.c

@@ -41,6 +41,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
 
 
 #include "netutils.h"
 #include "netutils.h"
 #include <libpq-fe.h>
 #include <libpq-fe.h>
+#include <pg_config_manual.h>
 
 
 #define DEFAULT_DB "template1"
 #define DEFAULT_DB "template1"
 #define DEFAULT_HOST "127.0.0.1"
 #define DEFAULT_HOST "127.0.0.1"