diff --git a/src/modules/Postgres/pgresult.c b/src/modules/Postgres/pgresult.c
index a8f1bd6ca84ba0d12ad14c379454151430c5de43..dc5bfae573b1b3ca3941d7e73e480ddac1725074 100644
--- a/src/modules/Postgres/pgresult.c
+++ b/src/modules/Postgres/pgresult.c
@@ -232,4 +232,8 @@ void pgresult_init (void)
 	pgresult_program->refs++;
 }
 
+#else
+
+static int place_holder;	/* Keep the compiler happy */
+
 #endif