aboutsummaryrefslogtreecommitdiff
path: root/plugins-root
diff options
context:
space:
mode:
authorGravatar Holger Weiss <hweiss@users.sourceforge.net> 2007-12-21 14:17:29 +0000
committerGravatar Holger Weiss <hweiss@users.sourceforge.net> 2007-12-21 14:17:29 +0000
commit50809d42f0f33692322ea8f20270397ce03102cb (patch)
treef7e6d2ce3754093b32d6c92ba8b40c9fdefdabe1 /plugins-root
parent8a4d06a25fb913030ec3fb67161d4256cc953472 (diff)
downloadmonitoring-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
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_icmp.c3
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";
#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>