summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-09-02 01:51:36 +0000
committerbrian <brian@FreeBSD.org>2000-09-02 01:51:36 +0000
commit5990f9fefcfe77f97b9684f0ce880272e741e949 (patch)
tree031643a6e9eed53526c9837b8de17efc8a80bb76 /contrib/sendmail/src
parent87803cc21c9047b3020da56a3e806cdd7268e7c9 (diff)
downloadFreeBSD-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/src')
-rw-r--r--contrib/sendmail/src/conf.h6
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 */
OpenPOWER on IntegriCloud