Code

Patch for tru64 using swapctl calls (Sean Finney)
[nagiosplug.git] / plugins / common.h
index 3e892522f177c6d00b1a6f5bed3b561b1672520e..d878271e01c760059e9a552db813c653e745b4df 100644 (file)
 #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