Revert a re-ordering of #ifdef'd block that may have lead to pagesize being defined, but unused.
static vm_size_t pagesize;
/* #endif HAVE_HOST_STATISTICS */
-#elif HAVE_SYSCTL
-static int pagesize;
-/* #endif HAVE_SYSCTL */
-
#elif HAVE_SYSCTLBYNAME
/* no global variables */
/* #endif HAVE_SYSCTLBYNAME */
static kstat_t *ksz;
/* #endif HAVE_LIBKSTAT */
+#elif HAVE_SYSCTL && __OpenBSD__
+/* OpenBSD variant does not have sysctlbyname */
+static int pagesize;
+/* #endif HAVE_SYSCTL && __OpenBSD__ */
+
#elif HAVE_LIBSTATGRAB
/* no global variables */
/* endif HAVE_LIBSTATGRAB */