aboutsummaryrefslogtreecommitdiff
path: root/src/lib/string
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-06 20:27:43 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-14 16:07:35 -0500
commite429e31ad1c3000d814f3172fcd3f7c433ee3219 (patch)
tree9bcd3f344b7cb4e2e6e38155f5a51e70ac497ae8 /src/lib/string
parentc0a7527eb8590b39f11dd8b0ae18794dfc63a934 (diff)
downloadtor-e429e31ad1c3000d814f3172fcd3f7c433ee3219.tar.gz
tor-e429e31ad1c3000d814f3172fcd3f7c433ee3219.zip
Normalize .may_include to always have paths, and paths to include
Diffstat (limited to 'src/lib/string')
-rw-r--r--src/lib/string/.may_include4
-rw-r--r--src/lib/string/compat_string.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/string/.may_include b/src/lib/string/.may_include
index ec5c769831..1fb9127f19 100644
--- a/src/lib/string/.may_include
+++ b/src/lib/string/.may_include
@@ -6,5 +6,5 @@ lib/malloc/*.h
lib/ctime/*.h
lib/string/*.h
-strlcat.c
-strlcpy.c
+ext/strlcat.c
+ext/strlcpy.c
diff --git a/src/lib/string/compat_string.c b/src/lib/string/compat_string.c
index eae82fdae0..b3f1e0fd96 100644
--- a/src/lib/string/compat_string.c
+++ b/src/lib/string/compat_string.c
@@ -14,10 +14,10 @@
/* Inline the strl functions if the platform doesn't have them. */
#ifndef HAVE_STRLCPY
-#include "strlcpy.c"
+#include "ext/strlcpy.c"
#endif
#ifndef HAVE_STRLCAT
-#include "strlcat.c"
+#include "ext/strlcat.c"
#endif
#include <stdlib.h>