X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c70ca7816838825c93fbc54ac9e4a6e2a7bef6d8..bcf252dfcdd7db22634ee483b457167eebf81951:/h/nmh.h?ds=inline diff --git a/h/nmh.h b/h/nmh.h index 00c408ff..ca32f58b 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -3,12 +3,20 @@ * nmh.h -- system configuration header file */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include #include +#ifndef NDEBUG + /* See etc/gen-ctype-checked.c. */ +# include +#endif +#include #include +#include # include #define NLENGTH(dirent) strlen((dirent)->d_name) @@ -21,8 +29,9 @@ # include #endif -# include -# include +#include +#include +#include /* * we should be getting this value from pathconf(_PC_PATH_MAX) @@ -59,9 +68,11 @@ # endif #endif +/* + * Defaults for programs if they aren't configured in a user's profile + */ + +#define DEFAULT_PAGER "more" +#define DEFAULT_EDITOR "vi" + #include - -#define bcmp(b1,b2,length) memcmp(b1, b2, length) -#define bcopy(b1,b2,length) memcpy (b2, b1, length) -#define bcpy(b1,b2,length) memcmp (b1, b2, length) -#define bzero(b,length) memset (b, 0, length)