summaryrefslogtreecommitdiff
path: root/src/lib/thread
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 15:20:26 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 15:20:26 -0400
commitb67754cd6484e9a844faec5d0071fc07497b8f30 (patch)
tree74301135d5875d58edc4e7b9797ddd0eab8e37b8 /src/lib/thread
parenta742a826f6fe4eafef047c4dd7ca7fa899d2f823 (diff)
downloadtor-b67754cd6484e9a844faec5d0071fc07497b8f30.tar.gz
tor-b67754cd6484e9a844faec5d0071fc07497b8f30.zip
compat_threads.c needs string.h for memset.
Diffstat (limited to 'src/lib/thread')
-rw-r--r--src/lib/thread/compat_threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/thread/compat_threads.c b/src/lib/thread/compat_threads.c
index 1d685b2c3e..972960e242 100644
--- a/src/lib/thread/compat_threads.c
+++ b/src/lib/thread/compat_threads.c
@@ -18,6 +18,8 @@
#include "lib/log/torlog.h"
#include "lib/log/util_bug.h"
+#include <string.h>
+
/** Allocate and return a new condition variable. */
tor_cond_t *
tor_cond_new(void)