aboutsummaryrefslogtreecommitdiff
path: root/src/lib/compress/compress.h
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.h
parent3d1e99d01bc0142397cd0dd8be41d001f0f66131 (diff)
downloadtor-4dda026f0da05dfccf4fb8a13492b81af9324a39.tar.gz
tor-4dda026f0da05dfccf4fb8a13492b81af9324a39.zip
Update lib/compress to not require common/*.h
Diffstat (limited to 'src/lib/compress/compress.h')
-rw-r--r--src/lib/compress/compress.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/compress/compress.h b/src/lib/compress/compress.h
index 10ad6d86bc..f88cf2cb2d 100644
--- a/src/lib/compress/compress.h
+++ b/src/lib/compress/compress.h
@@ -11,6 +11,9 @@
#ifndef TOR_COMPRESS_H
#define TOR_COMPRESS_H
+#include <stddef.h>
+#include "lib/testsupport/testsupport.h"
+
/** Enumeration of what kind of compression to use. Only ZLIB_METHOD and
* GZIP_METHOD is guaranteed to be supported by the compress/uncompress
* functions here. Call tor_compress_supports_method() to check if a given
@@ -90,4 +93,3 @@ void tor_compress_init(void);
void tor_compress_log_init_warnings(void);
#endif /* !defined(TOR_COMPRESS_H) */
-