summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/include/sm/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/sendmail/include/sm/conf.h')
-rw-r--r--gnu/usr.sbin/sendmail/include/sm/conf.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/usr.sbin/sendmail/include/sm/conf.h b/gnu/usr.sbin/sendmail/include/sm/conf.h
index e723e45a5d1..c5669b92a31 100644
--- a/gnu/usr.sbin/sendmail/include/sm/conf.h
+++ b/gnu/usr.sbin/sendmail/include/sm/conf.h
@@ -10,7 +10,7 @@
* the sendmail distribution.
*
*
- * $Sendmail: conf.h,v 1.115 2004/06/07 23:53:43 ca Exp $
+ * $Sendmail: conf.h,v 1.116 2004/07/26 18:08:35 ca Exp $
*/
/*
@@ -911,6 +911,14 @@ extern unsigned int sleepX __P((unsigned int seconds));
# if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104170000
# define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
# endif
+# if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 200060000
+# define HASCLOSEFROM 1 /* closefrom(3) added in 2.0F */
+# endif
+# if defined(__NetBSD__)
+# define USESYSCTL 1 /* use sysctl(3) for getting ncpus */
+# include <sys/param.h>
+# include <sys/sysctl.h>
+# endif
# if defined(__FreeBSD__)
# define HASSETLOGIN 1 /* has setlogin(2) */
# if __FreeBSD_version >= 227001