aboutsummaryrefslogtreecommitdiff
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/eventdns_tor.h b/src/or/eventdns_tor.h
index e32a190bb4..a10b3726bb 100644
--- a/src/or/eventdns_tor.h
+++ b/src/or/eventdns_tor.h
@@ -1,8 +1,12 @@
#include "orconfig.h"
#define DNS_USE_OPENSSL_FOR_ID
+#ifndef HAVE_UINT
typedef unsigned int uint;
+#endif
+#ifndef HAVE_U_CHAR
typedef unsigned char u_char;
+#endif
#ifdef MS_WINDOWS
#define inline __inline
#endif