$NetBSD: patch-ak,v 1.1 2006/10/11 05:03:49 dmcmahill Exp $

--- src/frontend/aspice.c.orig	2005-05-30 16:28:30.000000000 -0400
+++ src/frontend/aspice.c
@@ -168,14 +168,11 @@ sigchild(void)
  * whether the exit was normal or not.
  */
 
-#if defined(__NetBSD__) || defined(SOLARIS)
-    pid_t status;
-#elif defined(__FreeBSD__) || defined(__APPLE__)
-    int status;    
-#else
-    union wait status;
-#endif
-
+/*
+ * On posix systems, wait() is:
+ * pid_t wait(int *status);
+ */
+int status;    
 
 
 void
