summaryrefslogtreecommitdiffstats
path: root/web/attachments/214858-patch-plugins_check_swap_c
blob: 42efa9f424314199a8efadc3e9c80a93b5abd948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 <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