commit 5921b23e1596ef05ac58e1c450949936a2a41bed Author: Nick Mathewson nickm@torproject.org Date: Fri Jun 29 14:03:13 2018 -0400
add an include to fix macos, and probably bsd too --- src/lib/osinfo/uname.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/lib/osinfo/uname.c b/src/lib/osinfo/uname.c index fb5cc7c20..a0fa26d1d 100644 --- a/src/lib/osinfo/uname.c +++ b/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];