summaryrefslogtreecommitdiff
path: root/src/lib/compress
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-06 18:05:14 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-14 16:07:03 -0500
commitf6b8c7da66bf93a9505b397661616cc4af2a34f6 (patch)
tree539837644546df6f7d7ec7b40d43843674d3a83d /src/lib/compress
parentc9f9c9bc497bbfdd5e1acdc37f84da5f3f7396c2 (diff)
downloadtor-f6b8c7da66bf93a9505b397661616cc4af2a34f6.tar.gz
tor-f6b8c7da66bf93a9505b397661616cc4af2a34f6.zip
Move buffers.c out of lib/containers to resolve a circularity.
Diffstat (limited to 'src/lib/compress')
-rw-r--r--src/lib/compress/.may_include1
-rw-r--r--src/lib/compress/compress_buf.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/compress/.may_include b/src/lib/compress/.may_include
index 4870259ec9..6cd80086e6 100644
--- a/src/lib/compress/.may_include
+++ b/src/lib/compress/.may_include
@@ -1,5 +1,6 @@
orconfig.h
lib/arch/*.h
+lib/buf/*.h
lib/cc/*.h
lib/compress/*.h
lib/container/*.h
diff --git a/src/lib/compress/compress_buf.c b/src/lib/compress/compress_buf.c
index 63ee9e0102..ecf76ee078 100644
--- a/src/lib/compress/compress_buf.c
+++ b/src/lib/compress/compress_buf.c
@@ -11,7 +11,7 @@
#define BUFFERS_PRIVATE
#include "lib/cc/compat_compiler.h"
-#include "lib/container/buffers.h"
+#include "lib/buf/buffers.h"
#include "lib/compress/compress.h"
#include "lib/log/util_bug.h"