summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2014-07-24 21:31:07 +0100
committerThomas Adam <thomas@xteddy.org>2014-08-09 20:31:48 +0100
commit92997b781a035626bef4e84fbcd7f2282f761a3c (patch)
tree711027ebb888ed30f3623f634ed05f14d216d6eb /compat.h
parenta131b82e95df990528371b1d9ca40ee2be264fc8 (diff)
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.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 4 insertions, 0 deletions
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);