Просмотр исходного кода

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 16 лет назад
Родитель
Сommit
0a5cd15e75
1 измененных файлов с 1 добавлено и 0 удалено
  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 <netinet/ip_icmp.h>
 #include <arpa/inet.h>
 #include <arpa/inet.h>
 #include <signal.h>
 #include <signal.h>
+#include <float.h>
 
 
 
 
 /** sometimes undefined system macros (quite a few, actually) **/
 /** sometimes undefined system macros (quite a few, actually) **/