blob: d3d9bc6ef0e7a97e2b6c5bd034a3c09f71ba39ab (
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-aa,v 1.4 2005/03/18 22:44:22 dmcmahill Exp $
--- src/frontend/aspice.c.orig 2004-08-29 13:54:58.000000000 -0400
+++ src/frontend/aspice.c
@@ -176,9 +176,7 @@ sigchild(void)
* whether the exit was normal or not.
*/
-#if defined(__NetBSD__) || defined(SOLARIS)
- pid_t status;
-#elif defined(__FreeBSD__)
+#if defined(__NetBSD__) || defined(__sun__) || defined(__FreeBSD__)
int status;
#else
union wait status;
@@ -192,7 +190,7 @@ ft_checkkids(void)
struct proc *p = NULL, *lp = NULL;
char buf[BSIZE_SP];
FILE *fp;
- int pid = 0;
+ pid_t pid = 0;
static bool here = FALSE; /* Don't want to be re-entrant. */
if (!numchanged || here)
|