Bladeren bron

compat_threads.c needs string.h for memset.

Nick Mathewson 5 jaren geleden
bovenliggende
commit
b67754cd64
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  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)