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

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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 <[email protected]>

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.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.