[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] compat_threads.c needs string.h for memset.



commit b67754cd6484e9a844faec5d0071fc07497b8f30
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Jun 28 15:20:26 2018 -0400

    compat_threads.c needs string.h for memset.
---
 src/lib/thread/compat_threads.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/thread/compat_threads.c b/src/lib/thread/compat_threads.c
index 1d685b2c3..972960e24 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)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits