From 68c0874172f35a9433546a9eaad524f509befda5 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 24 Feb 2011 12:53:52 +0100 Subject: [PATCH] Conditional usage of resultsets_count --- src/http_command.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/http_command.c b/src/http_command.c index f0dc440..0bc8503 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -612,7 +612,11 @@ static void cmd_session_status(struct http_channel *c) int sessions_count(void); int clients_count(void); +#ifdef HAVE_RESULTSETS_COUNT int resultsets_count(void); +#else +#define resultsets_count() 0 +#endif static void cmd_server_status(struct http_channel *c) { -- 1.7.10.4