]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
compat_threads.c needs string.h for memset.
authorNick Mathewson <nickm@torproject.org>
Thu, 28 Jun 2018 19:20:26 +0000 (15:20 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 28 Jun 2018 19:20:26 +0000 (15:20 -0400)
src/lib/thread/compat_threads.c

index 1d685b2c3e939778f5f7071a96ee1a9e3d879605..972960e242441e0d44df4ff02098718ce83bbf45 100644 (file)
@@ -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)