Parcourir la source

compat_threads.c needs string.h for memset.

Nick Mathewson il y a 5 ans
Parent
commit
b67754cd64
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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)