소스 검색

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];