From: Ruben Kerkhof Date: Sat, 5 Mar 2016 17:40:46 +0000 (+0100) Subject: swap plugin: fix building on OpenBSD X-Git-Tag: collectd-5.6.0~409 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5a3ac1652776a9252606de3e3331434f517fccec;p=collectd.git swap plugin: fix building on OpenBSD --- diff --git a/src/swap.c b/src/swap.c index e4c5d24f..d714b5fc 100644 --- a/src/swap.c +++ b/src/swap.c @@ -82,6 +82,10 @@ static derive_t pagesize; static _Bool report_by_device = 0; /* #endif HAVE_SWAPCTL && HAVE_SWAPCTL_TWO_ARGS */ +#elif HAVE_SWAPCTL && HAVE_SWAPCTL_THREE_ARGS +/* No global variables */ +/* #endif HAVE_SWAPCTL && HAVE_SWAPCTL_THREE_ARGS */ + #elif defined(VM_SWAPUSAGE) /* No global variables */ /* #endif defined(VM_SWAPUSAGE) */