Let "make World" run through on OpenBSD
authorJohannes von Rotz <jr@vrtz.ch>
Wed, 21 Jan 2015 10:54:46 +0000 (11:54 +0100)
committerPeter Howkins <flibble@users.sf.net>
Wed, 21 Jan 2015 13:47:20 +0000 (13:47 +0000)
cde/programs/dtcm/dtcm/browser.c
cde/programs/dtcm/dtcm/help.c
cde/programs/dtlogin/dm.h

index 94fb735be79cd99a6063a1f1810fa1b5c356903c..99d72461fb984d903dafea2e69286e599abde5dc 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include <EUSCompat.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <csa.h>
index 4f51b1310678cbabffb83efdd46bb2d5ab22aec1..e3eb5fe97ff098aa702992ce9be4618941ea4e4c 100644 (file)
@@ -52,6 +52,7 @@ static char sccsid[] = "@(#)help.c 1.19 95/03/28 Copyr 1991 Sun Microsystems, In
 #endif
 
 #include <EUSCompat.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>
index a03d725b5eebf24c0d8ec4a90919bf9372170b98..1c27abcac042834c6cb7c4c986284da092e98243 100644 (file)
  ***************************************************************************/
 
 /*#if defined(SYSV) && !defined(hpux)*/
-#if defined(SYSV) || defined(SVR4) || defined(linux) || defined(__FreeBSD__)
+#if defined(SYSV) || defined(SVR4) || defined(linux) || defined(__FreeBSD__) || defined(OpenBSD)
 #   include    <sys/wait.h>
 # define waitCode(w)   WEXITSTATUS(w)
 # define waitSig(w)    WTERMSIG(w)