$OpenBSD: patch-lib_mainloop_c,v 1.2 2013/01/18 19:09:08 steven Exp $
--- lib/mainloop.c.orig	Thu Jan 17 10:25:17 2013
+++ lib/mainloop.c	Fri Jan 18 19:26:49 2013
@@ -41,6 +41,7 @@
 #include <arpa/nameser.h>
 #include <resolv.h>
 #include <iv.h>
+#include <iv_event.h>
 #include <iv_signal.h>
 #include <iv_work.h>
 #include <iv_event.h>
