aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 0dd403ac9..299be75dd 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -51,7 +51,9 @@
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
/* -- if2ip() -- */
#ifdef HAVE_NETDB_H