From 73f954e053fc4bdf969a1ce415e7aaf4c68ff551 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 24 Oct 2016 16:34:17 +0100 Subject: [PATCH] nmh.h: Add getline() prototype, conditional on HAVE_GETLINE. --- h/nmh.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.56.0