--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -37,7 +37,7 @@ const char *email = "nagiosplug-devel@li
 
 #include "netutils.h"
 #include <libpq-fe.h>
-#include <pg_config_manual.h>
+#include <postgresql/server/pg_config_manual.h>
 
 #define NAMEDATALEN 64
 #define DEFAULT_DB "template1"
