From 6c440da9260b6f8fffca7cb95ed6e51f55c71b14 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 1 Jul 2018 15:02:01 -0400 Subject: Remove system headers from or.h --- src/test/test_bt_cl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test/test_bt_cl.c') 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 +#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; } - -- cgit v1.2.3-54-g00ecf