summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 09:14:42 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 09:14:42 -0400
commit9cf335c9a5fe6767e90cc5cfdc1f5c95465edb10 (patch)
tree04e771dcb1c0c577b221a5a4f4b11ffa677972af /src/common/compat.h
parent544ab27a949406628809869111b7288017a5bcb1 (diff)
downloadtor-9cf335c9a5fe6767e90cc5cfdc1f5c95465edb10.tar.gz
tor-9cf335c9a5fe6767e90cc5cfdc1f5c95465edb10.zip
Extract threading code into a new library.
Note that the workqueue code does *not* go here: it is logically at a higher level, since it needs to use libevent and the networking stack.
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 95447d3b84..574dc57201 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -190,6 +190,6 @@ int tor_mlockall(void);
ssize_t tor_getpass(const char *prompt, char *output, size_t buflen);
/* This needs some of the declarations above so we include it here. */
-#include "common/compat_threads.h"
+#include "lib/thread/threads.h"
#endif /* !defined(TOR_COMPAT_H) */