diff options
author | Matthias Eble <psychotrahe@gmx.de> | 2009-06-01 22:41:46 +0200 |
---|---|---|
committer | Matthias Eble <psychotrahe@gmx.de> | 2009-06-01 22:41:46 +0200 |
commit | 0a5cd15e75d512a9cbb84480b820ee787cbbdcb5 (patch) | |
tree | 4c7069894f386901aa029375c4642a46e1ba83e7 /plugins-root/check_icmp.c | |
parent | 1c55e7287a4b1441958236956d20a2d908b3d8c3 (diff) | |
download | monitoring-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/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 4da6ea16..845fc95d 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) **/ |