From 7621e399ad6a977258c62eaf084a6280c89130ac Mon Sep 17 00:00:00 2001 From: Eric Allman Date: Fri, 16 Jul 1993 17:25:54 -0800 Subject: [PATCH] SCO unix changes; fix problem with defn of sys_errlist SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.4 --- usr/src/usr.sbin/sendmail/src/conf.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/usr/src/usr.sbin/sendmail/src/conf.h b/usr/src/usr.sbin/sendmail/src/conf.h index ad5102c5f0..89f1c548e0 100644 --- a/usr/src/usr.sbin/sendmail/src/conf.h +++ b/usr/src/usr.sbin/sendmail/src/conf.h @@ -5,7 +5,7 @@ * * %sccs.include.redist.c% * - * @(#)conf.h 8.3 (Berkeley) %G% + * @(#)conf.h 8.4 (Berkeley) %G% */ /* @@ -156,6 +156,15 @@ #ifdef BSD4_4 # include # define HASSETEUID 1 /* we have seteuid(2) call */ +# define ERRLIST_PREDEFINED /* don't declare sys_errlist */ +#endif + +/* SCO Unix */ +#ifdef _SCO_unix_ +# define SYSTEM5 1 /* include all the System V defines */ +# define UNSETENV 1 /* need unsetenv(3) support */ +# define FORK fork +# define MAXPATHLEN PATHSIZE #endif /* @@ -260,8 +269,8 @@ struct utsname }; #endif /* HASUNAME */ -#ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 256 +#if !defined(MAXHOSTNAMELEN) && !defined(_SCO_unix_) +# define MAXHOSTNAMELEN 256 #endif #if !defined(SIGCHLD) && defined(SIGCLD) -- 2.20.1