Hi,

I tried to build CDE on OpenBSD today and had to do some minor adjustments to let the make process finish without errors.

Cheers, J.
From 244d467bf7adb486119fc1514cc792c0079b447a Mon Sep 17 00:00:00 2001
From: Johannes von Rotz <j...@vrtz.ch>
Date: Wed, 21 Jan 2015 11:54:46 +0100
Subject: [PATCH] Let "make World" run through on OpenBSD

---
 cde/programs/dtcm/dtcm/browser.c | 1 +
 cde/programs/dtcm/dtcm/help.c    | 1 +
 cde/programs/dtlogin/dm.h        | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cde/programs/dtcm/dtcm/browser.c b/cde/programs/dtcm/dtcm/browser.c
index 94fb735..99d7246 100644
--- a/cde/programs/dtcm/dtcm/browser.c
+++ b/cde/programs/dtcm/dtcm/browser.c
@@ -29,6 +29,7 @@
  */
 
 #include <EUSCompat.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <csa.h>
diff --git a/cde/programs/dtcm/dtcm/help.c b/cde/programs/dtcm/dtcm/help.c
index 4f51b13..e3eb5fe 100644
--- a/cde/programs/dtcm/dtcm/help.c
+++ b/cde/programs/dtcm/dtcm/help.c
@@ -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>
diff --git a/cde/programs/dtlogin/dm.h b/cde/programs/dtlogin/dm.h
index a03d725..1c27abc 100644
--- a/cde/programs/dtlogin/dm.h
+++ b/cde/programs/dtlogin/dm.h
@@ -202,7 +202,7 @@
  ***************************************************************************/
 
 /*#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)
-- 
1.9.3

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to