Set _BSD_SOURCE before including string.h to get strlc{at,py} with musl.
This commit is contained in:
1 parent
a517124eae
commit
42274f939c
2 files changed
+4
No files matched your search
Vendored
+2
@@ -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