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:
@@ -102,7 +102,7 @@ char *argv[];
|
||||
char *style ; /* style */
|
||||
int chk_fd;
|
||||
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