aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 59425fa7c..e4989fc43 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -93,6 +93,12 @@
#include "address.h"
#include "compat_libevent.h"
+#ifdef HAVE_EVENT2_EVENT_H
+#include <event2/event.h>
+#else
+#include <event.h>
+#endif
+
/* These signals are defined to help control_signal_act work.
*/
#ifndef SIGHUP