diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-28 13:19:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-28 13:19:58 -0400 |
commit | 4dda026f0da05dfccf4fb8a13492b81af9324a39 (patch) | |
tree | 4f0a2faf4915d9c0a60668cfeab4c5d6c314bffa /src/lib/compress/compress_none.c | |
parent | 3d1e99d01bc0142397cd0dd8be41d001f0f66131 (diff) | |
download | tor-4dda026f0da05dfccf4fb8a13492b81af9324a39.tar.gz tor-4dda026f0da05dfccf4fb8a13492b81af9324a39.zip |
Update lib/compress to not require common/*.h
Diffstat (limited to 'src/lib/compress/compress_none.c')
-rw-r--r-- | src/lib/compress/compress_none.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/compress/compress_none.c b/src/lib/compress/compress_none.c index 11f99d82e6..9574c47a7e 100644 --- a/src/lib/compress/compress_none.c +++ b/src/lib/compress/compress_none.c @@ -16,10 +16,12 @@ #include "orconfig.h" -#include "common/util.h" #include "lib/log/torlog.h" #include "lib/compress/compress.h" #include "lib/compress/compress_none.h" +#include "lib/intmath/cmp.h" + +#include <string.h> /** Transfer some bytes using the identity transformation. Read up to * *<b>in_len</b> bytes from *<b>in</b>, and write up to *<b>out_len</b> bytes @@ -50,4 +52,3 @@ tor_cnone_compress_process(char **out, size_t *out_len, return TOR_COMPRESS_BUFFER_FULL; } } - |