From b572da0b376f3e3e7e07ec8f7ee921beeed26835 Mon Sep 17 00:00:00 2001
From: Matthias Eble <psychotrahe@users.sourceforge.net>
Date: Wed, 13 Feb 2008 20:36:00 +0000
Subject: 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

diff --git a/NEWS b/NEWS
index 5447142..9029a8f 100644
--- a/NEWS
+++ b/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
 	check_ntp_peer now checks for the LI_ALARM flag
 	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
 	Fixed check_http regression in 1.4.10 where following redirects to
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index e5442d2..0563322 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -41,6 +41,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
 
 #include "netutils.h"
 #include <libpq-fe.h>
+#include <pg_config_manual.h>
 
 #define DEFAULT_DB "template1"
 #define DEFAULT_HOST "127.0.0.1"
-- 
cgit v0.10-9-g596f

