lib/initend.c: define _BSD_SOURCE for strlcpy() with musl.

This commit is contained in:
Juan RP 2014-01-07 21:20:42 +01:00
parent 3042dcd7aa
commit ae81cd1ea9

View File

@ -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>