From 280bdae500339c130d8cd29b0012265a61f06bbe Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 29 Apr 1995 15:16:41 +0000 Subject: [PATCH] HAVE_SAVED_UIDS not depends of BSD version but depends of _POSIX_SAVED_IDS from unistd.h, fix it. --- usr.sbin/cron/cron/compat.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/usr.sbin/cron/cron/compat.h b/usr.sbin/cron/cron/compat.h index 528c6d3d9a23..ca851d17e64b 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 +#ifdef _POSIX_SAVED_IDS # define HAVE_SAVED_UIDS #endif +#endif #if !defined(ATT) && !defined(__linux) && !defined(IRIX) && !defined(UNICOS) # define USE_SIGCHLD