diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 14:03:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 14:03:13 -0400 |
commit | 5921b23e1596ef05ac58e1c450949936a2a41bed (patch) | |
tree | 29e77c576d4035cdb7e8aad772c181fa065a0e17 /src/lib/osinfo | |
parent | cd3f9572199c254e6c7896b61b361061919021bb (diff) | |
download | tor-5921b23e1596ef05ac58e1c450949936a2a41bed.tar.gz tor-5921b23e1596ef05ac58e1c450949936a2a41bed.zip |
add an include to fix macos, and probably bsd too
Diffstat (limited to 'src/lib/osinfo')
-rw-r--r-- | src/lib/osinfo/uname.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/osinfo/uname.c b/src/lib/osinfo/uname.c index fb5cc7c20d..a0fa26d1d2 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]; |