Add compat/fparseln() for non-BSD systems

Linux and friends don't natively have fparseln() so add it to compat/ and
ensure autotools can pick it up.
This commit is contained in:
Thomas Adam
2014-07-24 21:31:07 +01:00
parent a131b82e95
commit 92997b781a
4 changed files with 14 additions and 1 deletions

View File

@ -239,6 +239,10 @@ int vasprintf(char **, const char *, va_list);
char *fgetln(FILE *, size_t *);
#endif
#ifndef HAVE_FPARSELN
char *fparseln(FILE *, size_t *, size_t *, const char *, int);
#endif
#ifndef HAVE_SETENV
/* setenv.c */
int setenv(const char *, const char *, int);