aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-08-19 19:05:49 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-08-19 19:05:49 +0000
commitd5ae799b8792708cad68d57c966b562dc442dccd (patch)
treee2890c5c039f7572de2d9fae84cd67e0754ab5bc /plugins/common.h
parentc25c672eb2d17f8f10b8e28389a2fd9c91a9b81b (diff)
downloadmonitoring-plugins-d5ae799b8792708cad68d57c966b562dc442dccd.tar.gz
Patch for tru64 using swapctl calls (Sean Finney)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@890 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 3e892522..d878271e 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -98,6 +98,18 @@
#include <locale.h>
#endif
+#ifdef HAVE_DECL_SWAPCTL
+# 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
+
/*
*
* Missing Functions