diff options
author | Holger Weiss <hweiss@users.sourceforge.net> | 2007-12-21 14:17:29 +0000 |
---|---|---|
committer | Holger Weiss <hweiss@users.sourceforge.net> | 2007-12-21 14:17:29 +0000 |
commit | 50809d42f0f33692322ea8f20270397ce03102cb (patch) | |
tree | f7e6d2ce3754093b32d6c92ba8b40c9fdefdabe1 | |
parent | 8a4d06a25fb913030ec3fb67161d4256cc953472 (diff) | |
download | monitoring-plugins-50809d42f0f33692322ea8f20270397ce03102cb.tar.gz |
Include <sys/sockio.h> (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
-rw-r--r-- | plugins-root/check_icmp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 80fbf613..77ddfee0 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"; | |||
54 | #include "netutils.h" | 54 | #include "netutils.h" |
55 | #include "utils.h" | 55 | #include "utils.h" |
56 | 56 | ||
57 | #if HAVE_SYS_SOCKIO_H | ||
58 | #include <sys/sockio.h> | ||
59 | #endif | ||
57 | #include <sys/ioctl.h> | 60 | #include <sys/ioctl.h> |
58 | #include <sys/time.h> | 61 | #include <sys/time.h> |
59 | #include <sys/types.h> | 62 | #include <sys/types.h> |