aboutsummaryrefslogtreecommitdiff
path: root/src/lib/compress/compress_zstd.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_zstd.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_zstd.c')
-rw-r--r--src/lib/compress/compress_zstd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/compress/compress_zstd.c b/src/lib/compress/compress_zstd.c
index f24c7a5abc..0a553db55c 100644
--- a/src/lib/compress/compress_zstd.c
+++ b/src/lib/compress/compress_zstd.c
@@ -13,10 +13,12 @@
#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_zstd.h"
+#include "lib/string/printf.h"
+#include "lib/thread/threads.h"
#ifdef ENABLE_ZSTD_ADVANCED_APIS
/* This is a lie, but we make sure it doesn't get us in trouble by wrapping
@@ -533,4 +535,3 @@ tor_zstd_set_static_apis_disabled_for_testing(int disabled)
static_apis_disable_for_testing = disabled;
}
#endif
-