From 5a3ac1652776a9252606de3e3331434f517fccec Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 18:40:46 +0100 Subject: [PATCH] swap plugin: fix building on OpenBSD --- src/swap.c | 4 ++++ 1 file changed, 4 insertions(+) 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) */ -- 2.30.2