summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/xfrd.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-03-13 02:00:31 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-03-13 02:00:31 +0000
commit1342178419a992679fb622184c3449e6053d979d (patch)
treeb8975c10c366883880fc36098db88ca9c6fea345 /usr.sbin/nsd/xfrd.h
parent44a24f3f6cd28feba938df41de9b014eb4364fee (diff)
update to NSD 4.0.2, ok sthen@
Diffstat (limited to 'usr.sbin/nsd/xfrd.h')
-rw-r--r--usr.sbin/nsd/xfrd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/nsd/xfrd.h b/usr.sbin/nsd/xfrd.h
index b71f8c54f5e..83cb93fa51b 100644
--- a/usr.sbin/nsd/xfrd.h
+++ b/usr.sbin/nsd/xfrd.h
@@ -11,9 +11,15 @@
#define XFRD_H
#ifndef USE_MINI_EVENT
-#include <event.h>
+# ifdef HAVE_EVENT_H
+# include <event.h>
+# else
+# include <event2/event.h>
+# include "event2/event_struct.h"
+# include "event2/event_compat.h"
+# endif
#else
-#include "mini_event.h"
+# include "mini_event.h"
#endif
#include "rbtree.h"
#include "namedb.h"