summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 14:03:13 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 14:03:13 -0400
commit5921b23e1596ef05ac58e1c450949936a2a41bed (patch)
tree29e77c576d4035cdb7e8aad772c181fa065a0e17 /src
parentcd3f9572199c254e6c7896b61b361061919021bb (diff)
downloadtor-5921b23e1596ef05ac58e1c450949936a2a41bed.tar.gz
tor-5921b23e1596ef05ac58e1c450949936a2a41bed.zip
add an include to fix macos, and probably bsd too
Diffstat (limited to 'src')
-rw-r--r--src/lib/osinfo/uname.c1
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];