FreeBSD uses #if __BSD_VISIBLE to hide non-standard functions, fix this.
Noticed by: kib Approved by: kib
This commit is contained in:
parent
bf94adb3e1
commit
4e95969e06
@ -74,7 +74,7 @@ char *strcasestr(const char *, const char *) __pure;
|
||||
#endif
|
||||
char *strcat(char * __restrict, const char * __restrict);
|
||||
char *strchr(const char *, int) __pure;
|
||||
#if defined(_GNU_SOURCE)
|
||||
#if __BSD_VISIBLE
|
||||
char *strchrnul(const char*, int) __pure;
|
||||
#endif
|
||||
int strcmp(const char *, const char *) __pure;
|
||||
|
Loading…
x
Reference in New Issue
Block a user