From 92997b781a035626bef4e84fbcd7f2282f761a3c Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Thu, 24 Jul 2014 21:31:07 +0100 Subject: 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. --- compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 65d6ec7a..bf6e5360 100644 --- a/compat.h +++ b/compat.h @@ -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); -- cgit