From ae81cd1ea9c98ac3bf61ba581e3b3c63255465bd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 7 Jan 2014 21:20:42 +0100 Subject: [PATCH] lib/initend.c: define _BSD_SOURCE for strlcpy() with musl. --- lib/initend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/initend.c b/lib/initend.c index 21d3bc57..00ef1a4d 100644 --- a/lib/initend.c +++ b/lib/initend.c @@ -27,7 +27,9 @@ #include #include #include +#define _BSD_SOURCE /* required by strlcpy with musl */ #include +#undef _BSD_SOURCE #include #include #include