summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@gmx.de>2009-06-01 20:41:46 (GMT)
committerMatthias Eble <psychotrahe@gmx.de>2009-06-01 20:41:46 (GMT)
commit0a5cd15e75d512a9cbb84480b820ee787cbbdcb5 (patch)
tree4c7069894f386901aa029375c4642a46e1ba83e7 /plugins-root
parent1c55e7287a4b1441958236956d20a2d908b3d8c3 (diff)
downloadmonitoring-plugins-0a5cd15e75d512a9cbb84480b820ee787cbbdcb5.tar.gz
Fixed check_icmp compiler warnings by including float.h
Self defined DBL_MAX caused compiler warnings. Now float.h which defines DBL_MAX is included.
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_icmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 4da6ea1..845fc95 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -70,6 +70,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
70#include <netinet/ip_icmp.h> 70#include <netinet/ip_icmp.h>
71#include <arpa/inet.h> 71#include <arpa/inet.h>
72#include <signal.h> 72#include <signal.h>
73#include <float.h>
73 74
74 75
75/** sometimes undefined system macros (quite a few, actually) **/ 76/** sometimes undefined system macros (quite a few, actually) **/