diff --git a/plugins/common.h b/plugins/common.h
index e55b0bbdbd6dec63eee25c128ab37ff45d6b9851..372e59acb771691cbda06845dcbdce3b4cbcb590 100644 (file)
--- a/plugins/common.h
+++ b/plugins/common.h
#include <stdlib.h>
#include <errno.h>
+#ifdef HUGE_VAL_NEEDS_MATH_H
+#include <math.h>
+#endif
+
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif