From 50809d42f0f33692322ea8f20270397ce03102cb Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 21 Dec 2007 14:17:29 +0000 Subject: [PATCH] Include (if available) to get SIOCGIFADDR defined on Solaris. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1883 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-root/check_icmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 80fbf61..77ddfee 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c @@ -54,6 +54,9 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "netutils.h" #include "utils.h" +#if HAVE_SYS_SOCKIO_H +#include +#endif #include #include #include -- 2.30.2