diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/214858-patch-plugins_check_swap_c | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/214858-patch-plugins_check_swap_c')
-rw-r--r-- | web/attachments/214858-patch-plugins_check_swap_c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/web/attachments/214858-patch-plugins_check_swap_c b/web/attachments/214858-patch-plugins_check_swap_c new file mode 100644 index 0000000..42efa9f --- /dev/null +++ b/web/attachments/214858-patch-plugins_check_swap_c | |||
@@ -0,0 +1,21 @@ | |||
1 | $OpenBSD$ | ||
2 | --- plugins/check_swap.c.orig Wed Feb 7 10:05:35 2007 | ||
3 | +++ plugins/check_swap.c Wed Feb 7 10:06:28 2007 | ||
4 | @@ -42,14 +42,14 @@ const char *email = "nagiosplug-devel@li | ||
5 | #include "utils.h" | ||
6 | |||
7 | #ifdef HAVE_DECL_SWAPCTL | ||
8 | +# ifdef HAVE_SYS_PARAM_H | ||
9 | +# include <sys/param.h> | ||
10 | +# endif | ||
11 | # ifdef HAVE_SYS_SWAP_H | ||
12 | # include <sys/swap.h> | ||
13 | # endif | ||
14 | # ifdef HAVE_SYS_STAT_H | ||
15 | # include <sys/stat.h> | ||
16 | -# endif | ||
17 | -# ifdef HAVE_SYS_PARAM_H | ||
18 | -# include <sys/param.h> | ||
19 | # endif | ||
20 | #endif | ||
21 | |||