summaryrefslogtreecommitdiff
path: root/src/lib/fs/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fs/files.c')
-rw-r--r--src/lib/fs/files.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/fs/files.c b/src/lib/fs/files.c
index 4e0a398baa..e93d36d86d 100644
--- a/src/lib/fs/files.c
+++ b/src/lib/fs/files.c
@@ -715,3 +715,7 @@ read_file_to_str, (const char *filename, int flags, struct stat *stat_out))
return string;
}
+
+#if !defined(HAVE_GETDELIM) || defined(TOR_UNIT_TESTS)
+#include "ext/getdelim.c"
+#endif