summaryrefslogtreecommitdiff
path: root/util/mini_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/mini_event.h')
-rw-r--r--util/mini_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/mini_event.h b/util/mini_event.h
index 204894d97af29..1734ca574c604 100644
--- a/util/mini_event.h
+++ b/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