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

@@ -86,7 +86,7 @@ static char *util_locale ;
static pid_t gtob_pid = 0;
static pid_t btop_pid = 0;
#if defined( SVR4 ) || defined( SYSV ) || defined(__osf__) || defined(CSRG_BASED)
#if defined( SVR4 ) || defined( SYSV ) || defined(__osf__) || defined(CSRG_BASED) || defined(linux)
static int chld_stat ;
#else
static union wait chld_stat ;