summaryrefslogtreecommitdiffstats
path: root/web/attachments/214858-patch-plugins_check_swap_c
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/214858-patch-plugins_check_swap_c')
-rw-r--r--web/attachments/214858-patch-plugins_check_swap_c21
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