From f208ca56f5286c5ee18c1df900293042128a8329 Mon Sep 17 00:00:00 2001 From: danmc Date: Sun, 28 Feb 2010 16:58:28 +0000 Subject: [PATCH] On posix systems, wait() is: pid_t wait(int *status); so remove some broken #ifdef's that had the wrong type for status. --- src/frontend/aspice.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/frontend/aspice.c b/src/frontend/aspice.c index cc851ffcc..d4cbde2ab 100644 --- a/src/frontend/aspice.c +++ b/src/frontend/aspice.c @@ -177,15 +177,11 @@ sigchild(void) * whether the exit was normal or not. */ -#if defined(__NetBSD__) - pid_t status; -#elif defined(__FreeBSD__) || defined(__APPLE__) || defined(SOLARIS) - int status; -#else - union wait status; -#endif - - +/* + * On posix systems, wait() is: + * pid_t wait(int *status); + */ +int status; void ft_checkkids(void)