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"; #include <netinet/ip_icmp.h> #include <arpa/inet.h> #include <signal.h> +#include <float.h> /** sometimes undefined system macros (quite a few, actually) **/ |