Code

Include <sys/sockio.h> (if available) to get SIOCGIFADDR defined on
authorHolger Weiss <hweiss@users.sourceforge.net>
Fri, 21 Dec 2007 14:17:29 +0000 (14:17 +0000)
committerHolger Weiss <hweiss@users.sourceforge.net>
Fri, 21 Dec 2007 14:17:29 +0000 (14:17 +0000)
Solaris.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1883 f882894a-f735-0410-b71e-b25c423dba1c

plugins-root/check_icmp.c

index 80fbf61339c9e21f14c47999336813f1ea671e64..77ddfee0ec77c46f5c6b2a0defa2e3dde37cfda6 100644 (file)
@@ -54,6 +54,9 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
 #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>