]> diplodocus.org Git - nmh/commitdiff
nmh.h: Add getline() prototype, conditional on HAVE_GETLINE.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 24 Oct 2016 15:34:17 +0000 (16:34 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 24 Oct 2016 15:34:17 +0000 (16:34 +0100)
h/nmh.h

diff --git a/h/nmh.h b/h/nmh.h
index ed02240..d88ec52 100644 (file)
--- a/h/nmh.h
+++ b/h/nmh.h
 # 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
  */