Base fgetln() implementation on getline presence instead of glibc

This commit is contained in:
Guillem Jover 2012-01-03 08:40:18 +01:00
parent 786d143920
commit f8e8063079
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ AC_LINK_IFELSE(
AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])])
AC_CHECK_FUNCS([dirfd getexecname sysconf])
AC_CHECK_FUNCS([dirfd getexecname getline sysconf])
AC_CONFIG_FILES([
Makefile

View File

@ -30,7 +30,7 @@
#include <sys/types.h>
#include <string.h>
#ifdef __GLIBC__
#ifdef HAVE_GETLINE
char *
fgetln(FILE *stream, size_t *len)
{