Browse Source

add an include to fix macos, and probably bsd too

Nick Mathewson 5 years ago
parent
commit
5921b23e15
1 changed files with 1 additions and 0 deletions
  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];