]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add an include to fix macos, and probably bsd too
authorNick Mathewson <nickm@torproject.org>
Fri, 29 Jun 2018 18:03:13 +0000 (14:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 29 Jun 2018 18:03:13 +0000 (14:03 -0400)
src/lib/osinfo/uname.c

index fb5cc7c20d89f5972b2d5eea3455afc3e56c85d6..a0fa26d1d28f79ac176a47151d1ba02204895d21 100644 (file)
@@ -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];