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