diff options
author | brian <brian@FreeBSD.org> | 2000-09-02 01:51:36 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-09-02 01:51:36 +0000 |
commit | 5990f9fefcfe77f97b9684f0ce880272e741e949 (patch) | |
tree | 031643a6e9eed53526c9837b8de17efc8a80bb76 /contrib/sendmail | |
parent | 87803cc21c9047b3020da56a3e806cdd7268e7c9 (diff) | |
download | FreeBSD-src-5990f9fefcfe77f97b9684f0ce880272e741e949.zip FreeBSD-src-5990f9fefcfe77f97b9684f0ce880272e741e949.tar.gz |
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
Diffstat (limited to 'contrib/sendmail')
-rw-r--r-- | contrib/sendmail/src/conf.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <osreldate.h> # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */ -# include <libutil.h> +# if __FreeBSD_version >= 500012 /* Moved to libc in 5.0-current */ +# include <unistd.h> +# else +# include <libutil.h> +# endif # define SPT_TYPE SPT_BUILTIN # endif /* __FreeBSD_version >= 199512 */ # if __FreeBSD_version >= 222000 /* 2.2.2-release and later */ |