[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1883] nagiosplug/trunk/plugins-root/check_icmp.c
hweiss at users.sourceforge.net
hweiss at users.sourceforge.net
Fri Dec 21 15:17:29 CET 2007
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.
More information about the Commits
mailing list