summaryrefslogtreecommitdiff
path: root/src/test/test_util_slow.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-05 15:04:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-05 15:04:18 -0400
commit459382986102dd1bd84bca24a0fddfe04efefd76 (patch)
tree2c0de91fc434a812acf9ce3bfccb93cb2f306fa2 /src/test/test_util_slow.c
parent0adcfbc7c8b579ebfe4c16c86700e8b466fc9a56 (diff)
downloadtor-459382986102dd1bd84bca24a0fddfe04efefd76.tar.gz
tor-459382986102dd1bd84bca24a0fddfe04efefd76.zip
Remove util.h
Inline its contents (which were all includes) into or.h, and some of its contents into other places that didn't include or.h at all.
Diffstat (limited to 'src/test/test_util_slow.c')
-rw-r--r--src/test/test_util_slow.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/test_util_slow.c b/src/test/test_util_slow.c
index aeb0d422c1..5021e89dff 100644
--- a/src/test/test_util_slow.c
+++ b/src/test/test_util_slow.c
@@ -6,13 +6,17 @@
#include "orconfig.h"
#define UTIL_PRIVATE
#define SUBPROCESS_PRIVATE
-#include "common/util.h"
-#include "lib/process/waitpid.h"
#include "lib/crypt_ops/crypto.h"
#include "lib/log/torlog.h"
#include "lib/process/subprocess.h"
+#include "lib/process/waitpid.h"
+#include "lib/string/printf.h"
+#include "lib/time/compat_time.h"
#include "test/test.h"
+#include <errno.h>
+#include <string.h>
+
#ifndef BUILDDIR
#define BUILDDIR "."
#endif