summaryrefslogtreecommitdiff
path: root/include/bsd/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsd/string.h')
-rw-r--r--include/bsd/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bsd/string.h b/include/bsd/string.h
index b0199d7..fb7d4a7 100644
--- a/include/bsd/string.h
+++ b/include/bsd/string.h
@@ -38,8 +38,12 @@
#ifndef LIBBSD_DISABLE_DEPRECATED
/* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */
+#ifdef LIBBSD_OVERLAY
+#include <stdio.h>
+#else
#include <bsd/stdio.h>
#endif
+#endif
__BEGIN_DECLS
size_t strlcpy(char *dst, const char *src, size_t siz);