[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Basic windows libevent fixes



Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv16596/src/or

Modified Files:
	or.h 
Log Message:
Basic windows libevent fixes

Index: or.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.525
retrieving revision 1.526
diff -u -d -r1.525 -r1.526
--- or.h	17 Jan 2005 18:13:09 -0000	1.525
+++ or.h	18 Jan 2005 23:44:55 -0000	1.526
@@ -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"