[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2208] nagiosplug/trunk/plugins-root/check_icmp.c

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Sat Jun 6 07:55:54 CEST 2009


Revision: 2208
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2208&view=rev
Author:   dermoth
Date:     2009-06-06 05:55:54 +0000 (Sat, 06 Jun 2009)

Log Message:
-----------
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.

From: Matthias Eble <psychotrahe at gmx.de>

Modified Paths:
--------------
    nagiosplug/trunk/plugins-root/check_icmp.c

Modified: nagiosplug/trunk/plugins-root/check_icmp.c
===================================================================
--- nagiosplug/trunk/plugins-root/check_icmp.c	2009-06-06 05:55:44 UTC (rev 2207)
+++ nagiosplug/trunk/plugins-root/check_icmp.c	2009-06-06 05:55:54 UTC (rev 2208)
@@ -70,6 +70,7 @@
 #include <netinet/ip_icmp.h>
 #include <arpa/inet.h>
 #include <signal.h>
+#include <float.h>
 
 
 /** sometimes undefined system macros (quite a few, actually) **/


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list