[tor-talk] tor-0.2.2.32 compilation failure
Sebastian Hahn
mail at sebastianhahn.net
Tue Aug 30 21:09:47 UTC 2011
On Aug 30, 2011, at 10:59 PM, grarpamp wrote:
> Hi. I have a box: i386 FreeBSD RELENG_4, GCC 2.95.4.
> openssl 0.9.8r, libevent 1.4.14b.
>
> tor-0.2.1.30 is fine with the above.
> With tor-0.2.2.32 I get this. Any ideas? Thanks.
try this patch:
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index ae7d7cf..51dfefd 100644
--- a/src/common/torgzip.c
+++ b/src/common/torgzip.c
@@ -14,11 +14,12 @@
#include <stdio.h>
#include <assert.h>
#include <string.h>
+#include "torint.h"
+
#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
+#include <netinet/in.h>
#endif
-#include "torint.h"
#include "util.h"
#include "torlog.h"
#include "torgzip.h"
More information about the tor-talk
mailing list