[tor-commits] [tor/release-0.2.2] Fix a compilation issue on older FreeBSDs

arma at torproject.org arma at torproject.org
Fri Sep 9 17:20:10 UTC 2011


commit 03760f6c6f0c580542c8bfc519062b65afdc8d5f
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Tue Aug 30 20:45:49 2011 -0400

    Fix a compilation issue on older FreeBSDs
---
 src/common/torgzip.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index 2937c67..a26e5b2 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>
 #endif
 
-#include "torint.h"
 #include "util.h"
 #include "torlog.h"
 #include "torgzip.h"





More information about the tor-commits mailing list