diff options
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r-- | plugins/check_swap.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <sys/param.h> +# endif # ifdef HAVE_SYS_SWAP_H # include <sys/swap.h> # endif # ifdef HAVE_SYS_STAT_H # include <sys/stat.h> # endif -# ifdef HAVE_SYS_PARAM_H -# include <sys/param.h> -# endif #endif #ifndef SWAP_CONVERSION |