From 1c302f230c8416757a1509e1d9abbb210f2ec520 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 10 Oct 2015 23:13:10 +0200 Subject: string.h may include strings.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/string.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/string.h b/include/string.h index 08777be..1c47efe 100644 --- a/include/string.h +++ b/include/string.h @@ -21,6 +21,11 @@ #include +#if (defined(_BSD_SOURCE) || defined(_GNU_SOURCE)) && !defined(__PORTABLE) +# include +#endif + + /** * `NULL`'s canonical header is -- cgit v1.2.3-70-g09d2