diff --git a/plugins/common.h b/plugins/common.h
index 3e892522f177c6d00b1a6f5bed3b561b1672520e..d878271e01c760059e9a552db813c653e745b4df 100644 (file)
--- a/plugins/common.h
+++ b/plugins/common.h
#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