summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 12:08:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 12:08:18 -0400
commit6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5 (patch)
tree207d1df4696820488a87c218c95126e422805f13 /src/test
parent042df08693521a7cba990489fa03547a6e3fec4c (diff)
downloadtor-6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5.tar.gz
tor-6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5.zip
Move compute_num_cpus to lib/thread
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index a6fb0ce846..bdc6fca7df 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -28,6 +28,7 @@
#include "lib/process/pidfile.h"
#include "lib/process/subprocess.h"
#include "lib/intmath/weakrng.h"
+#include "lib/thread/numcpus.h"
#ifdef HAVE_PWD_H
#include <pwd.h>