From: Ralph Corderoy Date: Mon, 24 Oct 2016 15:34:17 +0000 (+0100) Subject: nmh.h: Add getline() prototype, conditional on HAVE_GETLINE. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/73f954e053fc4bdf969a1ce415e7aaf4c68ff551?ds=inline nmh.h: Add getline() prototype, conditional on HAVE_GETLINE. --- diff --git a/h/nmh.h b/h/nmh.h index ed02240a..d88ec529 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -77,6 +77,10 @@ # endif #endif +#ifndef HAVE_GETLINE +ssize_t getline(char **lineptr, size_t *n, FILE *stream); +#endif + /* * Defaults for programs if they aren't configured in a user's profile */