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