aboutsummaryrefslogtreecommitdiff
path: root/src/lib/string/compat_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/string/compat_string.c')
-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. */