mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-15 15:16:53 +02:00
Include the correct deprecated headeres when using the overlay
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user