Browse Source

compat_threads.c needs string.h for memset.

Nick Mathewson 5 years ago
parent
commit
b67754cd64
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/thread/compat_threads.c

+ 2 - 0
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)