aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 15:02:01 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit6c440da9260b6f8fffca7cb95ed6e51f55c71b14 (patch)
tree79b12be0db0beb3fa918b5a37ad4b777be5b75a2 /src/test/test_util.c
parent13116378b1a8118e277320e377a691064e54983a (diff)
downloadtor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz
tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip
Remove system headers from or.h
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index ab0573e560..3c0b4f77fc 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -48,6 +48,16 @@
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#ifdef _WIN32
#include <tchar.h>
#endif