aboutsummaryrefslogtreecommitdiff
path: root/src/lib/string
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2018-06-28 17:15:53 -0500
committerTaylor Yu <catalyst@torproject.org>2018-06-28 17:15:53 -0500
commitf9e22c68a0c701745867a9dac391a70171654c75 (patch)
tree8102ee6d795d702563bc9c4e25e05840f7d26cf7 /src/lib/string
parentbe40ad51b68fa87bafb88e55db7856d373274a4d (diff)
downloadtor-f9e22c68a0c701745867a9dac391a70171654c75.tar.gz
tor-f9e22c68a0c701745867a9dac391a70171654c75.zip
Fix macOS includes
Recent code movement from refactoring missed some includes that seem to be necessary on macOS.
Diffstat (limited to 'src/lib/string')
-rw-r--r--src/lib/string/compat_string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/string/compat_string.c b/src/lib/string/compat_string.c
index 3f8a4d515d..8b063b7242 100644
--- a/src/lib/string/compat_string.c
+++ b/src/lib/string/compat_string.c
@@ -15,6 +15,7 @@
#endif
#include <stdlib.h>
+#include <string.h>
/** Helper for tor_strtok_r_impl: Advances cp past all characters in
* <b>sep</b>, and returns its new value. */