diff --git a/daemon/unbound.c b/daemon/unbound.c index 4e2f1cb3d..fe56fe847 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -83,7 +83,13 @@ # include "util/mini_event.h" # endif #else -# include +# ifdef HAVE_EVENT_H +# include +# else +# include "event2/event.h" +# include "event2/event_struct.h" +# include "event2/event_compat.h" +# endif #endif #ifdef UB_ON_WINDOWS