ソースを参照

add an include to fix macos, and probably bsd too

Nick Mathewson 5 年 前
コミット
5921b23e15
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/lib/osinfo/uname.c

+ 1 - 0
src/lib/osinfo/uname.c

@@ -15,6 +15,7 @@
 #ifdef _WIN32
 #include <windows.h>
 #endif
+#include <string.h>
 
 /** Hold the result of our call to <b>uname</b>. */
 static char uname_result[256];