lib/util: musl needs _{GNU,BSD}_SOURCE for strlc{at,py}().
This commit is contained in:
parent
0db5ace61d
commit
cf78b7272f
@ -27,6 +27,12 @@
|
|||||||
# define _GNU_SOURCE /* for vasprintf(3) */
|
# define _GNU_SOURCE /* for vasprintf(3) */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_STRLCAT) || defined(HAVE_STRLCPY)
|
||||||
|
# define _BSD_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user