From c716718d5368af5c003a1cd1c250e1d150cd2936 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 4 Aug 1998 13:04:55 +0000 Subject: Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2 Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly. --- contrib/sendmail/src/conf.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/sendmail/src/conf.h b/contrib/sendmail/src/conf.h index fd14d5a..a8ad46e 100644 --- a/contrib/sendmail/src/conf.h +++ b/contrib/sendmail/src/conf.h @@ -814,12 +814,15 @@ typedef int pid_t; # endif # if defined(__FreeBSD__) # undef SPT_TYPE -# if __FreeBSD__ == 2 -# include /* and this works */ -# if __FreeBSD_version >= 199512 /* 2.2-current right now */ +# if __FreeBSD__ >= 2 +# include +# if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */ # include # define SPT_TYPE SPT_BUILTIN # endif +# if __FreeBSD_version >= 222000 /* 2.2.2-release and later */ +# define HASSETUSERCONTEXT 1 /* BSDI-style login classes */ +# endif # endif # ifndef SPT_TYPE # define SPT_TYPE SPT_REUSEARGV -- cgit v1.1