diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-08 12:23:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-05 13:57:51 -0400 |
commit | 5921b465e7764d35b3f128cf0cf096eca3226688 (patch) | |
tree | 51f77fb0284b14bad8121043b00582e050b581c0 /src/or/buffers.c | |
parent | f28e314b0d5a6d4c677b87378cea70dc6524546b (diff) | |
download | tor-5921b465e7764d35b3f128cf0cf096eca3226688.tar.gz tor-5921b465e7764d35b3f128cf0cf096eca3226688.zip |
Make buffers.c independent of or.h
Also, put ext_or function in new module; it had accidentally gotten
into proto_socks.c
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 18517b999f..ee888b42a4 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -17,11 +17,17 @@ * and drained from functions in connection.c, trigged by events that are * monitored in main.c. **/ + #define BUFFERS_PRIVATE -#include "or.h" +#include "orconfig.h" +#include <stddef.h> #include "buffers.h" +#include "compat.h" +#include "compress.h" #include "util.h" +#include "torint.h" #include "torlog.h" +#include "tortls.h" #ifdef HAVE_UNISTD_H #include <unistd.h> #endif |