libxbps: define _WITH_GETLINE for FreeBSD

This commit is contained in:
Michael Gehring committed 2016-02-08 15:09:58 +01:00
1 parent 618e504d30
commit ab0d5c847d
1 file changed
+3
+3
View File
@@ -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 */