mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
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:
parent
9b1f60a713
commit
e4ba1fad36
5 changed files with 5 additions and 5 deletions
|
@ -212,7 +212,7 @@ char **comment_list ;/* pointer to the list of comments */
|
||||||
int cnt ;
|
int cnt ;
|
||||||
int comflg ;
|
int comflg ;
|
||||||
pid_t chld_pid = 0;
|
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 ;
|
int chld_stat ;
|
||||||
#else
|
#else
|
||||||
union wait chld_stat ;
|
union wait chld_stat ;
|
||||||
|
|
|
@ -86,7 +86,7 @@ static char *util_locale ;
|
||||||
|
|
||||||
static pid_t gtob_pid = 0;
|
static pid_t gtob_pid = 0;
|
||||||
static pid_t btop_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 ;
|
static int chld_stat ;
|
||||||
#else
|
#else
|
||||||
static union wait chld_stat ;
|
static union wait chld_stat ;
|
||||||
|
|
|
@ -102,7 +102,7 @@ char *argv[];
|
||||||
char *style ; /* style */
|
char *style ; /* style */
|
||||||
int chk_fd;
|
int chk_fd;
|
||||||
pid_t chld_pid = 0;
|
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 ;
|
int chld_stat ;
|
||||||
#else
|
#else
|
||||||
union wait chld_stat ;
|
union wait chld_stat ;
|
||||||
|
|
|
@ -1047,7 +1047,7 @@ char **fontname ;
|
||||||
{
|
{
|
||||||
FILE *fp ;
|
FILE *fp ;
|
||||||
pid_t chld_pid = 0;
|
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 ;
|
int chld_stat ;
|
||||||
#else
|
#else
|
||||||
union wait chld_stat ;
|
union wait chld_stat ;
|
||||||
|
|
|
@ -190,7 +190,7 @@ struct ptobhead *head;
|
||||||
char buf[BUFSIZE], *p;
|
char buf[BUFSIZE], *p;
|
||||||
|
|
||||||
pid_t chld_pid = 0;
|
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 ;
|
int chld_stat ;
|
||||||
#else
|
#else
|
||||||
union wait chld_stat ;
|
union wait chld_stat ;
|
||||||
|
|
Loading…
Reference in a new issue