summaryrefslogtreecommitdiff
path: root/net-im/icb/files/patch-o-ad
blob: f50110f139d62d0c23ce651406bd318d5e74bde7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
*** tcl/tclCmdAH.c.orig	Sat Feb 25 03:19:53 1995
--- tcl/tclCmdAH.c	Wed May  6 18:54:07 1998
***************
*** 38,45 ****
--- 38,51 ----
  #include <sys/wait.h>
  #include "tclInt.h"
  
+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
+ #include <sys/param.h>
+ #endif
+ 
  extern int errno;
+ #if !(defined(BSD) && BSD >= 199306)
  extern long lseek();
+ #endif
  extern char *mktemp();
  
  /*
***************
*** 627,633 ****
  	while (1) {
  	    int child;
  
! 	    child = wait(&status);
  	    if (child == -1) {
  		sprintf(interp->result,
  			"child process disappeared mysteriously");
--- 633,639 ----
  	while (1) {
  	    int child;
  
! 	    child = wait((int *)&status);
  	    if (child == -1) {
  		sprintf(interp->result,
  			"child process disappeared mysteriously");