aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_workqueue.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 08:49:07 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 08:49:07 -0400
commit544ab27a949406628809869111b7288017a5bcb1 (patch)
tree911f21717353327dad7ae296cef4ca0a893839a8 /src/test/test_workqueue.c
parent0b7452eeb2f2dee7acefee2d3ca2cb402a877ea1 (diff)
downloadtor-544ab27a949406628809869111b7288017a5bcb1.tar.gz
tor-544ab27a949406628809869111b7288017a5bcb1.zip
Extract the alert-socket code into lib/net.
This code was in compat_threads, since it was _used_ for efficiently notifying the main libevent thread from another thread. But in spite of its usage, it's fundamentally a part of the network code.
Diffstat (limited to 'src/test/test_workqueue.c')
-rw-r--r--src/test/test_workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index fe23c5319d..7c525aa28c 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -9,6 +9,7 @@
#include "common/workqueue.h"
#include "lib/crypt_ops/crypto_curve25519.h"
#include "lib/crypt_ops/crypto_rand.h"
+#include "lib/net/alertsock.h"
#include "common/compat_libevent.h"
#include <stdio.h>
@@ -450,4 +451,3 @@ main(int argc, char **argv)
return 0;
}
}
-