Explorar o código

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.
Matthias Eble %!s(int64=16) %!d(string=hai) anos
pai
achega
0a5cd15e75
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plugins-root/check_icmp.c

+ 1 - 0
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) **/