X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fnmh.h;h=19549e43e5e597324f82cf69d478511f6828a922;hp=26eb0a2b0c031264b7a7dcbdc287872235fae74a;hb=768b5edd9623b7238e12ec8dfc409b82a1ed9e2d;hpb=8529829823bebf483ab22fe8d24c96394647a298 diff --git a/h/nmh.h b/h/nmh.h index 26eb0a2..19549e4 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -4,11 +4,7 @@ #include -#ifdef HAVE_UNISTD_H -# include -# include -#endif - +#include #include #include #include @@ -30,34 +26,16 @@ # endif #endif -#ifdef HAVE_STDLIB_H -# include -#endif - +#include #include - -#if STDC_HEADERS || HAVE_STRING_H -# include -/* An ANSI string.h and pre-ANSI memory.h might conflict. */ -# if !STDC_HEADERS && HAVE_MEMORY_H -# include -# endif /* not STDC_HEADERS and HAVE_MEMORY_H */ -#else /* not STDC_HEADERS and not HAVE_STRING_H */ -# include -/* memory.h and strings.h conflict on some systems. */ -#endif /* not STDC_HEADERS and not HAVE_STRING_H */ +#include #ifdef HAVE_SYS_PARAM_H # include #endif -#ifdef HAVE_LOCALE_H -# include -#endif - -#ifdef HAVE_LIMITS_H -# include -#endif +#include +#include /* ** symbolic constants for lseek and fseek @@ -85,17 +63,6 @@ #endif /* -** we should get this value from sysconf(_SC_NGROUPS_MAX) -*/ -#ifndef NGROUPS_MAX -# ifdef NGROUPS -# define NGROUPS_MAX NGROUPS -# else -# define NGROUPS_MAX 16 -# endif -#endif - -/* ** we should be getting this value from sysconf(_SC_OPEN_MAX) */ #ifndef OPEN_MAX @@ -109,12 +76,6 @@ #include -#ifdef HAVE_KILLPG -# define KILLPG(pgrp,sig) killpg(pgrp,sig); -#else -# define KILLPG(pgrp,sig) kill((-pgrp),sig); -#endif - /* ** If your stat macros are broken, ** we will just undefine them.