From 5990f9fefcfe77f97b9684f0ce880272e741e949 Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 2 Sep 2000 01:51:36 +0000 Subject: Move setproctitle() from libutil to libc (after a repo-copy) and bump __FreeBSD_version to 500012 to mark the occasion. setproctitle() is prototyped in unistd.h as opposed to stdlib.h where OpenBSD and NetBSD have it. Reviewed by: peter --- contrib/sendmail/src/conf.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/sendmail/src/conf.h b/contrib/sendmail/src/conf.h index c748bf3..f87b204 100644 --- a/contrib/sendmail/src/conf.h +++ b/contrib/sendmail/src/conf.h @@ -968,7 +968,11 @@ typedef int pid_t; # if __FreeBSD__ >= 2 # include # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */ -# include +# if __FreeBSD_version >= 500012 /* Moved to libc in 5.0-current */ +# include +# else +# include +# endif # define SPT_TYPE SPT_BUILTIN # endif /* __FreeBSD_version >= 199512 */ # if __FreeBSD_version >= 222000 /* 2.2.2-release and later */ -- cgit v1.1