From 0bf3d3913fe2adb5974add44f93a5de78bd06710 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 28 May 2011 10:39:54 +0200 Subject: Include the correct deprecated headeres when using the overlay --- include/bsd/string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/bsd/string.h') 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 +#else #include #endif +#endif __BEGIN_DECLS size_t strlcpy(char *dst, const char *src, size_t siz); -- cgit v1.2.3