X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/40009883832750cb536db4d41f500c0ad41005de..0f343e7716fbc0401663dc37ecc94874c23ff68e:/h/nmh.h diff --git a/h/nmh.h b/h/nmh.h index ed02240a..e3dd3c6c 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -1,10 +1,8 @@ - -/* - * nmh.h -- system configuration header file +/* nmh.h -- system configuration header file */ #ifdef HAVE_CONFIG_H -#include +#include "config.h" #endif #include @@ -12,7 +10,7 @@ #include #ifndef NDEBUG /* See etc/gen-ctype-checked.c. */ -# include +#include "sbr/ctype-checked.h" #endif #include @@ -28,7 +26,6 @@ #include # include -#define NLENGTH(dirent) strlen((dirent)->d_name) #include #include @@ -77,9 +74,6 @@ # endif #endif -/* - * Defaults for programs if they aren't configured in a user's profile - */ - -#define DEFAULT_PAGER "more" -#define DEFAULT_EDITOR "vi" +#ifndef HAVE_GETLINE +ssize_t getline(char **lineptr, size_t *n, FILE *stream); +#endif