summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index af5f881404..4871ee3b78 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -37,7 +37,9 @@
#include <assert.h>
#include <time.h>
#ifdef USE_ZLIB
+#define free_func zlib_free_func
#include <zlib.h>
+#undef free_func
#endif
#include "../common/crypto.h"