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_checkdir.c | |
parent | 13116378b1a8118e277320e377a691064e54983a (diff) | |
download | tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip |
Remove system headers from or.h
Diffstat (limited to 'src/test/test_checkdir.c')
-rw-r--r-- | src/test/test_checkdir.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c index d0c899a07e..09688cf0a9 100644 --- a/src/test/test_checkdir.c +++ b/src/test/test_checkdir.c @@ -14,6 +14,10 @@ #include "test/test.h" #include "common/util.h" +#ifdef HAVE_SYS_STAT_H +#include <sys/stat.h> +#endif + #ifdef _WIN32 #define mkdir(a,b) mkdir(a) #define tt_int_op_nowin(a,op,b) do { (void)(a); (void)(b); } while (0) @@ -146,4 +150,3 @@ struct testcase_t checkdir_tests[] = { CHECKDIR(perms, TT_FORK), END_OF_TESTCASES }; - |