lib/initend.c: define _BSD_SOURCE for strlcpy() with musl.
This commit is contained in:
1 parent
3042dcd7aa
commit
ae81cd1ea9
1 file changed
+2
@@ -27,7 +27,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define _BSD_SOURCE /* required by strlcpy with musl */
|
||||
#include <string.h>
|
||||
#undef _BSD_SOURCE
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <dirent.h>
|
||||
|
||||
Reference in new issue
Block a user