From: Todd C. Miller Date: Mon, 17 May 2004 20:08:46 +0000 (+0000) Subject: Preliminary changes to support nsr-tandem-nsk. Based on patches from X-Git-Tag: SUDO_1_6_8~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51c9ed319829d03c6c77874bc43308e1c1d2a555;p=sudo Preliminary changes to support nsr-tandem-nsk. Based on patches from Tom Bates. --- diff --git a/check.c b/check.c index 3b9d2b46f..e450e4766 100644 --- a/check.c +++ b/check.c @@ -23,7 +23,9 @@ #include #include #include -#include +#ifndef __TANDEM +# include +#endif #include #ifdef STDC_HEADERS # include diff --git a/compat.h b/compat.h index ff5b8ebc7..25818a3ad 100644 --- a/compat.h +++ b/compat.h @@ -87,11 +87,15 @@ #endif /* S_IRWXU */ /* - * In case this is not defined in or + * In case these are not defined in or */ #ifndef howmany # define howmany(x, y) (((x) + ((y) - 1)) / (y)) #endif +#ifndef NFDBITS +# define NFDBITS 32 +# define fd_mask int +#endif /* * These should be defined in but not everyone has them.