diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-01-18 23:44:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-01-18 23:44:55 +0000 |
commit | 7d4a167c81294b0270438cd1b98758e47a0f41a6 (patch) | |
tree | 7a374ed3a16c0a595011ced15c3479cf00017c9d /src/or | |
parent | 84deb5c690f01226fe1106e90683ba817a539eb9 (diff) | |
download | tor-7d4a167c81294b0270438cd1b98758e47a0f41a6.tar tor-7d4a167c81294b0270438cd1b98758e47a0f41a6.tar.gz |
Basic windows libevent fixes
svn:r3366
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/or.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/or.h b/src/or/or.h index aecd5e65d..6c951add1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -96,11 +96,6 @@ #ifdef HAVE_TIME_H #include <time.h> #endif -#ifdef HAVE_EVENT_H -#include <event.h> -#else -#error "Tor requires libevent to build." -#endif #ifdef MS_WINDOWS #if (_MSC_VER <= 1300) @@ -119,6 +114,12 @@ #define snprintf _snprintf #endif +#ifdef HAVE_EVENT_H +#include <event.h> +#else +#error "Tor requires libevent to build." +#endif + #include "../common/crypto.h" #include "../common/tortls.h" #include "../common/log.h" |