summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-29 01:05:37 +0000
committerache <ache@FreeBSD.org>1994-11-29 01:05:37 +0000
commitc88ae84584ac881b623d6aae4656d99aa1d6e86c (patch)
tree820ecd0b32e96f32b2cc69dfd9f83f0cc6c17425 /usr.sbin
parent4306355165990e3f8c60b74f32da6797fbd4193b (diff)
downloadFreeBSD-src-c88ae84584ac881b623d6aae4656d99aa1d6e86c.zip
FreeBSD-src-c88ae84584ac881b623d6aae4656d99aa1d6e86c.tar.gz
BSD 4.4 compatibility fix
Submitted by: Ollivier Robert
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sendmail/src/conf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/sendmail/src/conf.h b/usr.sbin/sendmail/src/conf.h
index ed66c2c..e3cc1ad 100644
--- a/usr.sbin/sendmail/src/conf.h
+++ b/usr.sbin/sendmail/src/conf.h
@@ -423,17 +423,17 @@ typedef int pid_t;
/*
** 386BSD / FreeBSD 1.0E / NetBSD (all architectures, all versions)
**
-** 4.3BSD clone, closer to 4.4BSD
+** Were 4.3BSD clone, closer to 4.4BSD
+** Now real 4.4BSD.
**
** See also BSD defines.
*/
-#if defined(__FreeBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
# define HASUNSETENV 1 /* has unsetenv(3) call */
# define HASSETSID 1 /* has the setsid(2) POSIX syscall */
-# ifdef __NetBSD__
-# define HASUNAME 1 /* has uname(2) syscall */
-# endif
+# define HASUNAME 1 /* has uname(2) syscall */
+# define GIDSET_T gid_t
# include <sys/cdefs.h>
# define ERRLIST_PREDEFINED /* don't declare sys_errlist */
# ifndef LA_TYPE
OpenPOWER on IntegriCloud