From c391272975965ded901818c73abc492e1e354acb Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 7 Feb 2007 14:06:11 +0000 Subject: Include before in order to fix compilation on OpenBSD (nsturm - 1653934) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1613 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_swap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 1903a006..fb84ca4b 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c @@ -42,15 +42,15 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "utils.h" #ifdef HAVE_DECL_SWAPCTL +# ifdef HAVE_SYS_PARAM_H +# include +# endif # ifdef HAVE_SYS_SWAP_H # include # endif # ifdef HAVE_SYS_STAT_H # include # endif -# ifdef HAVE_SYS_PARAM_H -# include -# endif #endif #ifndef SWAP_CONVERSION -- cgit v1.2.3