diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:02:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 6c440da9260b6f8fffca7cb95ed6e51f55c71b14 (patch) | |
tree | 79b12be0db0beb3fa918b5a37ad4b777be5b75a2 /src/test/test_bt_cl.c | |
parent | 13116378b1a8118e277320e377a691064e54983a (diff) | |
download | tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip |
Remove system headers from or.h
Diffstat (limited to 'src/test/test_bt_cl.c')
-rw-r--r-- | src/test/test_bt_cl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test_bt_cl.c b/src/test/test_bt_cl.c index c64ca8e2b3..8a8221f190 100644 --- a/src/test/test_bt_cl.c +++ b/src/test/test_bt_cl.c @@ -12,6 +12,10 @@ #include "lib/err/backtrace.h" #include "lib/log/torlog.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* -1: no crash. * 0: crash with a segmentation fault. * 1x: crash with an assertion failure. */ @@ -118,4 +122,3 @@ main(int argc, char **argv) return 0; } - |