From: Nick Mathewson Date: Thu, 19 Aug 2010 18:59:44 +0000 (-0400) Subject: Fix up compilation on windows. X-Git-Tag: tor-0.2.2.15-alpha~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69deb22f;p=thirdparty%2Ftor.git Fix up compilation on windows. --- diff --git a/src/or/ntmain.c b/src/or/ntmain.c index 9bcb7047eb..7163f5c9a7 100644 --- a/src/or/ntmain.c +++ b/src/or/ntmain.c @@ -7,6 +7,7 @@ #include "or.h" #include "config.h" #include "main.h" +#include "ntmain.h" #ifdef HAVE_EVENT2_EVENT_H #include diff --git a/src/or/reasons.c b/src/or/reasons.c index db0f2e9345..ade9a3abfc 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -168,7 +168,7 @@ errno_to_stream_end_reason(int e) S_CASE(ENOTCONN): S_CASE(ENETUNREACH): return END_STREAM_REASON_INTERNAL; - E_CASE(EHOSTUNREACH): + S_CASE(EHOSTUNREACH): /* XXXX022 * The correct behavior is END_STREAM_REASON_NOROUTE, but older * clients don't recognize it. So we're going to continue sending