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:
Peter Howkins
2017-04-11 20:40:43 +01:00
parent 9b1f60a713
commit e4ba1fad36
5 changed files with 5 additions and 5 deletions

View File

@@ -212,7 +212,7 @@ char **comment_list ;/* pointer to the list of comments */
int cnt ;
int comflg ;
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 ;