-/*
- * getline.c -- replacement getline() implementation
+/* getline.c -- replacement getline() implementation
*
* This code is Copyright (c) 2016, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
#include <stdio.h>
#include <limits.h>
#include <errno.h>
-#ifdef HAVE_STDBOOL_H
-# include <stdbool.h>
-#else /* ! HAVE_STDBOOL_H */
-# define bool int
-# define true 1
-# define false 0
-#endif /* ! HAVE_STDBOOL_H */
+
+#include <h/mh.h>
/* Largest possible size of buffer that allows SSIZE_MAX to be returned
* to indicate SSIZE_MAX - 1 characters read before the '\n'. The