Change pid wait types to int on Linux as well. Fixes compile issue
in dtudc programs on ubuntu 16.10+
This commit is contained in:
@@ -190,7 +190,7 @@ struct ptobhead *head;
|
||||
char buf[BUFSIZE], *p;
|
||||
|
||||
pid_t chld_pid = 0;
|
||||
#if defined( SVR4 ) || defined( SYSV ) || defined(CSRG_BASED)
|
||||
#if defined( SVR4 ) || defined( SYSV ) || defined(CSRG_BASED) || defined(linux)
|
||||
int chld_stat ;
|
||||
#else
|
||||
union wait chld_stat ;
|
||||
|
||||
Reference in New Issue
Block a user