libxbps: define _WITH_GETLINE for FreeBSD
This commit is contained in:
parent
618e504d30
commit
ab0d5c847d
@ -26,6 +26,9 @@
|
|||||||
|
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#define _WITH_GETLINE /* getline() */
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#define _BSD_SOURCE /* required by strlcpy with musl */
|
#define _BSD_SOURCE /* required by strlcpy with musl */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user