From: Dennis Schafroth Date: Thu, 24 Feb 2011 11:53:52 +0000 (+0100) Subject: Conditional usage of resultsets_count X-Git-Tag: v1.5.5~38 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=68c0874172f35a9433546a9eaad524f509befda5;p=pazpar2-moved-to-github.git Conditional usage of resultsets_count --- 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) {