summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-04-29 15:16:41 +0000
committerache <ache@FreeBSD.org>1995-04-29 15:16:41 +0000
commitd0845530dbf56ea91017619d52bffb06af3c2a5d (patch)
tree816f898b08e1b4746e5e6904a36ad87a95374d16 /usr.sbin/cron
parent09fc806063a52c76bb9f6f96f33f7c9157aabe86 (diff)
downloadFreeBSD-src-d0845530dbf56ea91017619d52bffb06af3c2a5d.zip
FreeBSD-src-d0845530dbf56ea91017619d52bffb06af3c2a5d.tar.gz
HAVE_SAVED_UIDS not depends of BSD version but depends
of _POSIX_SAVED_IDS from unistd.h, fix it.
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/cron/compat.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/cron/cron/compat.h b/usr.sbin/cron/cron/compat.h
index 528c6d3..ca851d1 100644
--- a/usr.sbin/cron/cron/compat.h
+++ b/usr.sbin/cron/cron/compat.h
@@ -16,7 +16,7 @@
*/
/*
- * $Id: compat.h,v 1.8 1994/01/15 20:43:43 vixie Exp $
+ * $Id: compat.h,v 1.1.1.1 1994/08/27 13:43:04 jkh Exp $
*/
#ifndef __P
@@ -106,9 +106,12 @@
# define NEED_GETDTABLESIZE
#endif
-#if (BSD >= 199103)
+#ifdef POSIX
+#include <unistd.h>
+#ifdef _POSIX_SAVED_IDS
# define HAVE_SAVED_UIDS
#endif
+#endif
#if !defined(ATT) && !defined(__linux) && !defined(IRIX) && !defined(UNICOS)
# define USE_SIGCHLD
OpenPOWER on IntegriCloud