summaryrefslogtreecommitdiff
path: root/src/or/eventdns_tor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/eventdns_tor.h')
-rw-r--r--src/or/eventdns_tor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/eventdns_tor.h b/src/or/eventdns_tor.h
index a10b3726bb..d1acfe275e 100644
--- a/src/or/eventdns_tor.h
+++ b/src/or/eventdns_tor.h
@@ -10,4 +10,10 @@ typedef unsigned char u_char;
#ifdef MS_WINDOWS
#define inline __inline
#endif
+#include "../common/torint.h"
+
+#if defined(MS_WINDOWS) && !defined(WIN32)
+/* How did _this_ happen? */
+#define WIN32
+#endif