Set _BSD_SOURCE before including string.h to get strlc{at,py} with musl.
This commit is contained in:
2
lib/external/dewey.c
vendored
2
lib/external/dewey.c
vendored
@@ -30,7 +30,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define _BSD_SOURCE
|
||||
#include <string.h>
|
||||
#undef _BSD_SOURCE
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
Reference in New Issue
Block a user