浏览代码

compat_threads.c needs string.h for memset.

Nick Mathewson 5 年之前
父节点
当前提交
b67754cd64
共有 1 个文件被更改,包括 2 次插入0 次删除
  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)