]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix NetBSD compile (GH #189) 190/head
authorJeffrey Walton <noloader@gmail.com>
Wed, 11 Mar 2020 07:35:28 +0000 (03:35 -0400)
committerJeffrey Walton <noloader@gmail.com>
Wed, 11 Mar 2020 07:35:28 +0000 (03:35 -0400)
util/mini_event.h

index 204894d97af29430724b18c25fef88f4b683caa8..1734ca574c604f8fe6f4fca08923dc659171184c 100644 (file)
@@ -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