diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-08-19 19:05:49 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-08-19 19:05:49 +0000 |
commit | d5ae799b8792708cad68d57c966b562dc442dccd (patch) | |
tree | e2890c5c039f7572de2d9fae84cd67e0754ab5bc /plugins/common.h | |
parent | c25c672eb2d17f8f10b8e28389a2fd9c91a9b81b (diff) | |
download | monitoring-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.h | 12 |
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 @@ | |||
98 | #include <locale.h> | 98 | #include <locale.h> |
99 | #endif | 99 | #endif |
100 | 100 | ||
101 | #ifdef HAVE_DECL_SWAPCTL | ||
102 | # ifdef HAVE_SYS_SWAP_H | ||
103 | # include <sys/swap.h> | ||
104 | # endif | ||
105 | # ifdef HAVE_SYS_STAT_H | ||
106 | # include <sys/stat.h> | ||
107 | # endif | ||
108 | # ifdef HAVE_SYS_PARAM_H | ||
109 | # include <sys/param.h> | ||
110 | # endif | ||
111 | #endif | ||
112 | |||
101 | /* | 113 | /* |
102 | * | 114 | * |
103 | * Missing Functions | 115 | * Missing Functions |