summaryrefslogtreecommitdiff
path: root/include/bsd/string.h
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-05-28 10:39:54 +0200
committerGuillem Jover <guillem@hadrons.org>2011-05-29 02:41:15 +0200
commit0bf3d3913fe2adb5974add44f93a5de78bd06710 (patch)
tree9e5f6f08dd47a397a864e0cc56ab1a4d6a220629 /include/bsd/string.h
parent913cdd91b1d696e02dff22273b7721d8dad4bf2a (diff)
downloadlibbsd-0bf3d3913fe2adb5974add44f93a5de78bd06710.tar.gz
Include the correct deprecated headeres when using the overlay
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);