summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-09-03 06:00:50 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-09-03 06:00:50 (GMT)
commit3d0384254969464c3e666d5c6cecd1907ee94661 (patch)
tree21b444048d4bb98a8f33716f38718f7120c913b0 /plugins/common.h
parente36840962a92049b9548938e9233eb3cdfbd540d (diff)
downloadmonitoring-plugins-3d0384254969464c3e666d5c6cecd1907ee94661.tar.gz
include math.h if needed for HUGE_VAL
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@710 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index e55b0bb..372e59a 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -40,6 +40,10 @@
40#include <stdlib.h> 40#include <stdlib.h>
41#include <errno.h> 41#include <errno.h>
42 42
43#ifdef HUGE_VAL_NEEDS_MATH_H
44#include <math.h>
45#endif
46
43#ifdef HAVE_STRINGS_H 47#ifdef HAVE_STRINGS_H
44#include <strings.h> 48#include <strings.h>
45#endif 49#endif