aboutsummaryrefslogtreecommitdiff
path: root/src/lib/compress/compress_zlib.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 13:19:58 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 13:19:58 -0400
commit4dda026f0da05dfccf4fb8a13492b81af9324a39 (patch)
tree4f0a2faf4915d9c0a60668cfeab4c5d6c314bffa /src/lib/compress/compress_zlib.c
parent3d1e99d01bc0142397cd0dd8be41d001f0f66131 (diff)
downloadtor-4dda026f0da05dfccf4fb8a13492b81af9324a39.tar.gz
tor-4dda026f0da05dfccf4fb8a13492b81af9324a39.zip
Update lib/compress to not require common/*.h
Diffstat (limited to 'src/lib/compress/compress_zlib.c')
-rw-r--r--src/lib/compress/compress_zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/compress/compress_zlib.c b/src/lib/compress/compress_zlib.c
index 7cba1150ed..12e6727dee 100644
--- a/src/lib/compress/compress_zlib.c
+++ b/src/lib/compress/compress_zlib.c
@@ -13,10 +13,11 @@
#include "orconfig.h"
-#include "common/util.h"
#include "lib/log/torlog.h"
+#include "lib/log/util_bug.h"
#include "lib/compress/compress.h"
#include "lib/compress/compress_zlib.h"
+#include "lib/thread/threads.h"
/* zlib 1.2.4 and 1.2.5 do some "clever" things with macros. Instead of
saying "(defined(FOO) ? FOO : 0)" they like to say "FOO-0", on the theory
@@ -301,4 +302,3 @@ tor_zlib_init(void)
{
atomic_counter_init(&total_zlib_allocation);
}
-