summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8572a59)
raw | patch | inline | side by side (parent: 8572a59)
author | Holger Weiss <hweiss@users.sourceforge.net> | |
Wed, 7 Feb 2007 14:06:11 +0000 (14:06 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Wed, 7 Feb 2007 14:06:11 +0000 (14:06 +0000) |
OpenBSD (nsturm - 1653934)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1613 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1613 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_swap.c | patch | blob | history |
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 1903a00617855b225874abae588450499f2dce03..fb84ca4bd7d8c1d6a642cb5e1a257693fae6295d 100644 (file)
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
#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