BSD4_4 is a standard symbol in <sys/param.h>; make sure that files
that need this defined, include <sys/param.h> and don't define it in the Makefile. Add a comment to that effect.
This commit is contained in:
parent
78b73237b4
commit
e3f5fb922f
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.36 1998/01/20 22:43:34 pk Exp $
|
||||
# $NetBSD: Makefile,v 1.37 1998/01/21 10:47:37 christos Exp $
|
||||
# @(#)Makefile 8.4 (Berkeley) 5/5/95
|
||||
|
||||
PROG= sh
|
||||
|
@ -15,7 +15,6 @@ DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
|
|||
LFLAGS= -8 # 8-bit lex scanner for arithmetic
|
||||
|
||||
CPPFLAGS+=-DSHELL -I. -I${.CURDIR}
|
||||
CPPFLAGS+=-DBSD4_4
|
||||
|
||||
# XXX
|
||||
.if (${MACHINE_ARCH} == "powerpc")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: miscbltin.c,v 1.22 1998/01/16 16:26:22 christos Exp $ */
|
||||
/* $NetBSD: miscbltin.c,v 1.23 1998/01/21 10:47:39 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)miscbltin.c 8.4 (Berkeley) 5/4/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: miscbltin.c,v 1.22 1998/01/16 16:26:22 christos Exp $");
|
||||
__RCSID("$NetBSD: miscbltin.c,v 1.23 1998/01/21 10:47:39 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -49,8 +49,8 @@ __RCSID("$NetBSD: miscbltin.c,v 1.22 1998/01/16 16:26:22 christos Exp $");
|
|||
* Miscelaneous builtins.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h> /* quad_t */
|
||||
#include <sys/param.h> /* BSD4_4 */
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: output.c,v 1.19 1997/07/04 21:02:18 christos Exp $ */
|
||||
/* $NetBSD: output.c,v 1.20 1998/01/21 10:47:40 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)output.c 8.2 (Berkeley) 5/4/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: output.c,v 1.19 1997/07/04 21:02:18 christos Exp $");
|
||||
__RCSID("$NetBSD: output.c,v 1.20 1998/01/21 10:47:40 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -56,7 +56,8 @@ __RCSID("$NetBSD: output.c,v 1.19 1997/07/04 21:02:18 christos Exp $");
|
|||
* Our output routines may be smaller than the stdio routines.
|
||||
*/
|
||||
|
||||
#include <sys/types.h> /* quad_t */
|
||||
#include <sys/types.h> /* quad_t */
|
||||
#include <sys/param.h> /* BSD4_4 */
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <stdio.h> /* defines BUFSIZ */
|
||||
|
|
Loading…
Reference in New Issue