Change pid wait types to int on Linux as well. Fixes compile issue
authorPeter Howkins <flibble@users.sf.net>
Tue, 11 Apr 2017 19:40:43 +0000 (20:40 +0100)
committerPeter Howkins <flibble@users.sf.net>
Tue, 11 Apr 2017 19:40:43 +0000 (20:40 +0100)
in dtudc programs on ubuntu 16.10+

cde/programs/dtudcexch/exportbdf.c
cde/programs/dtudcfonted/dtaddcpf/addcpf.c
cde/programs/dtudcfonted/dtcpftogpf/cpftogpf.c
cde/programs/dtudcfonted/libfuty/getfname.c
cde/programs/dtudcfonted/libfuty/oakfuty.c

index dbcc228d274f4b43adab56dab271f898ecc18439..8e88e42f4fb6860a10fa725728b9c7430d89b002 100644 (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 ;
index 88db180a6431f0c15775adcb881b7e031da7fa1c..b9b632057c750ba512e5ce30d34a00d36ecfcae7 100644 (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 ;
index 935e9f473d288d2a58f28b312619e8455e92f781..4516c80cb6a93bce034b7f0f7faf21c28dbbb3a0 100644 (file)
@@ -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 ;
index 21f92ddceebd57aede79a58f860d66f330cd65e3..a0b3bd97f69640b48f5814f0c4671a955f890a81 100644 (file)
@@ -1047,7 +1047,7 @@ char      **fontname ;
 {
        FILE    *fp ;
        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 ;
index 0b73c56a597b919c34bb7290ab6c356160aa7919..7c37bc8a1a9cf6bb00b1ae33a0ab721b2843f184 100644 (file)
@@ -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 ;