Explorar o código

add an include to fix macos, and probably bsd too

Nick Mathewson %!s(int64=5) %!d(string=hai) anos
pai
achega
5921b23e15
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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];