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

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 1883
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1883&view=rev
Author:   hweiss
Date:     2007-12-21 06:17:29 -0800 (Fri, 21 Dec 2007)

Log Message:
-----------
Include <sys/sockio.h> (if available) to get SIOCGIFADDR defined on
Solaris.

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

Modified: nagiosplug/trunk/plugins-root/check_icmp.c
===================================================================
--- nagiosplug/trunk/plugins-root/check_icmp.c	2007-12-21 13:25:28 UTC (rev 1882)
+++ nagiosplug/trunk/plugins-root/check_icmp.c	2007-12-21 14:17:29 UTC (rev 1883)
@@ -54,6 +54,9 @@
 #include "netutils.h"
 #include "utils.h"
 
+#if HAVE_SYS_SOCKIO_H
+#include <sys/sockio.h>
+#endif
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <sys/types.h>


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.