From: Holger Weiss Date: Fri, 21 Dec 2007 14:17:29 +0000 (+0000) Subject: Include (if available) to get SIOCGIFADDR defined on X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=50809d42f0f33692322ea8f20270397ce03102cb;p=nagiosplug.git 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 --- 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