summaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/util/mini_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound/util/mini_event.h')
-rw-r--r--usr.sbin/unbound/util/mini_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/unbound/util/mini_event.h b/usr.sbin/unbound/util/mini_event.h
index 204894d97af..1734ca574c6 100644
--- a/usr.sbin/unbound/util/mini_event.h
+++ b/usr.sbin/unbound/util/mini_event.h
@@ -54,6 +54,8 @@
#if defined(USE_MINI_EVENT) && !defined(USE_WINSOCK)
+#include <sys/time.h>
+
#ifndef HAVE_EVENT_BASE_FREE
#define HAVE_EVENT_BASE_FREE
#endif