diff options
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; } - |