From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/214858-patch-plugins_check_swap_c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 web/attachments/214858-patch-plugins_check_swap_c (limited to 'web/attachments/214858-patch-plugins_check_swap_c') 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 @@ +$OpenBSD$ +--- plugins/check_swap.c.orig Wed Feb 7 10:05:35 2007 ++++ plugins/check_swap.c Wed Feb 7 10:06:28 2007 +@@ -42,14 +42,14 @@ const char *email = "nagiosplug-devel@li + #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 + -- cgit v1.2.3-74-g34f1