From: Matthias Eble Date: Mon, 1 Jun 2009 20:41:46 +0000 (+0200) Subject: Fixed check_icmp compiler warnings by including float.h X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0a5cd15e75d512a9cbb84480b820ee787cbbdcb5;p=nagiosplug.git 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. --- 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"; #include #include #include +#include /** sometimes undefined system macros (quite a few, actually) **/