mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Let "make World" run through on OpenBSD
This commit is contained in:
parent
83af6d8431
commit
f6e025b3af
3 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <EUSCompat.h>
|
#include <EUSCompat.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <csa.h>
|
#include <csa.h>
|
||||||
|
|
|
@ -52,6 +52,7 @@ static char sccsid[] = "@(#)help.c 1.19 95/03/28 Copyr 1991 Sun Microsystems, In
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <EUSCompat.h>
|
#include <EUSCompat.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -202,7 +202,7 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/*#if defined(SYSV) && !defined(hpux)*/
|
/*#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>
|
# include <sys/wait.h>
|
||||||
# define waitCode(w) WEXITSTATUS(w)
|
# define waitCode(w) WEXITSTATUS(w)
|
||||||
# define waitSig(w) WTERMSIG(w)
|
# define waitSig(w) WTERMSIG(w)
|
||||||
|
|
Loading…
Reference in a new issue