aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index f8a37bb12..e9b8a4955 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -66,6 +66,10 @@
#include <netdb.h>
#endif
+#include HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif