http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/plugins/check_pgsql.c revision 1951
16 lines
501 B
Text
16 lines
501 B
Text
$NetBSD: patch-an,v 1.1 2008/03/16 21:13:05 seb Exp $
|
|
|
|
Fix build with PostgreSQL 8.3. From
|
|
http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/plugins/check_pgsql.c
|
|
revision 1951
|
|
|
|
--- plugins/check_pgsql.c.orig 2004-12-25 23:17:44.000000000 +0000
|
|
+++ plugins/check_pgsql.c
|
|
@@ -28,6 +28,7 @@ const char *email = "nagiosplug-devel@li
|
|
|
|
#include "netutils.h"
|
|
#include <libpq-fe.h>
|
|
+#include <pg_config_manual.h>
|
|
|
|
#define DEFAULT_DB "template1"
|
|
#define DEFAULT_HOST "127.0.0.1"
|