Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)

This commit is contained in:
matt 2003-09-21 14:17:13 +00:00
parent 7fef26674d
commit f9188e9265
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.2 2003/04/20 14:38:00 bjh21 Exp $
# $NetBSD: Makefile.buildboot,v 1.3 2003/09/21 14:17:13 matt Exp $
S?= ${.CURDIR}/../../../..
@ -22,6 +22,7 @@ CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
CFLAGS= -O2
CFLAGS+= -ffreestanding
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
.if !make(obj) && !make(clean) && !make(cleandir)

View File

@ -1,4 +1,4 @@
/* $NetBSD: srt1.c,v 1.2 2003/01/06 18:22:01 reinoud Exp $ */
/* $NetBSD: srt1.c,v 1.3 2003/09/21 14:17:13 matt Exp $ */
/*
* Copyright (c) 2001 Ben Harris.
@ -34,6 +34,7 @@
/* Command-line parsing from i386 doscommain.c */
#include <lib/libkern/libkern.h>
#include <lib/libsa/stand.h>
#include <riscoscalls.h>
#include <srt0.h>