Explorar el Código

add an include to fix macos, and probably bsd too

Nick Mathewson hace 5 años
padre
commit
5921b23e15
Se han modificado 1 ficheros con 1 adiciones y 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];