aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-01 08:47:27 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-01 08:47:27 -0400
commit2884639ad63583d2a5a3dd14185c77212e566b5f (patch)
tree2a8461ee9037d2b0f4a83e4ae3bfc2f9a9bca24f /src/test/test_util.c
parent7e4ac0283ef9c089ebe4da8b85a5f6b5ec84a081 (diff)
downloadtor-2884639ad63583d2a5a3dd14185c77212e566b5f.tar.gz
tor-2884639ad63583d2a5a3dd14185c77212e566b5f.zip
Extract tor_ersatz_socketpair into a new c file
I'm doing this because I want to make it a lower-level function again, so that we can use it without linking in the rest of the universe.
Diffstat (limited to 'src/test/test_util.c')
-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 99fee4c5a5..7afe83c692 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -38,6 +38,7 @@
#include "lib/meminfo/meminfo.h"
#include "lib/time/tvdiff.h"
#include "lib/encoding/confline.h"
+#include "lib/net/socketpair.h"
#ifdef HAVE_PWD_H
#include <pwd.h>