Let "make World" run through on OpenBSD
This commit is contained in:
committed by
Peter Howkins
parent
83af6d8431
commit
f6e025b3af
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user