Code

Fixed check_icmp compiler warnings by including float.h
authorMatthias Eble <psychotrahe@gmx.de>
Mon, 1 Jun 2009 20:41:46 +0000 (22:41 +0200)
committerMatthias Eble <psychotrahe@gmx.de>
Mon, 1 Jun 2009 20:41:46 +0000 (22:41 +0200)
Self defined DBL_MAX caused compiler warnings. Now float.h
which defines DBL_MAX is included.

plugins-root/check_icmp.c

index 4da6ea166cecb98859f42f923f7a9ea0f5bea22b..845fc95df02b3016d83900e9d87caf883da35879 100644 (file)
@@ -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) **/