diff options
Diffstat (limited to 'xinit.c')
-rw-r--r-- | xinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -171,7 +171,7 @@ char *displayNum; char *program; Display *xd; /* server connection */ #ifndef SYSV -#if defined(__CYGWIN__) || defined(SVR4) || defined(_POSIX_SOURCE) || defined(CSRG_BASED) || defined(__UNIXOS2__) || defined(Lynx) +#if defined(__CYGWIN__) || defined(SVR4) || defined(_POSIX_SOURCE) || defined(CSRG_BASED) || defined(__UNIXOS2__) || defined(Lynx) || defined(__APPLE__) int status; #else union wait status; @@ -495,7 +495,7 @@ processTimeout(int timeout, char *string) break; alarm(0); #else /* SYSV */ -#if defined(SVR4) || defined(_POSIX_SOURCE) || defined(Lynx) +#if defined(SVR4) || defined(_POSIX_SOURCE) || defined(Lynx) || defined(__APPLE__) if ((pidfound = waitpid(serverpid, &status, WNOHANG)) == serverpid) break; #else |