X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3dc0fe0bcb41205700cf9229cb6d7bbfd95a3c2a..b0aa8cdb1c264e42d4931ca24968689c73381278:/h/nmh.h diff --git a/h/nmh.h b/h/nmh.h index 00fd943a..ed02240a 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -15,7 +15,17 @@ # include #endif #include + +#ifdef HAVE_STDBOOL_H +# include +#else +# define bool int +# define true 1 +# define false 0 +#endif + #include +#include # include #define NLENGTH(dirent) strlen((dirent)->d_name) @@ -28,8 +38,9 @@ # include #endif -# include -# include +#include +#include +#include /* * we should be getting this value from pathconf(_PC_PATH_MAX) @@ -72,5 +83,3 @@ #define DEFAULT_PAGER "more" #define DEFAULT_EDITOR "vi" - -#include