blob: 36e99a79b4575a0de1673e522c7a6b04b04a14b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$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
|