Code

swap plugin: fix building on OpenBSD
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 17:40:46 +0000 (18:40 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 17:40:46 +0000 (18:40 +0100)
src/swap.c

index e4c5d24f23bccc918b440c06db86260c0715d44d..d714b5fcdb8d7e558eb02d1c7a787b506bc07230 100644 (file)
@@ -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) */