Date: Sun, 7 Apr 1996 04:18:51 -0500 (CDT) From: "Mike Pritchard" <mpp@mpp.minn.net> To: gpalmer@FreeBSD.ORG (Gary Palmer) Cc: bde@zeta.org.au, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pccard pccard.c pcic.c Message-ID: <199604070918.EAA24688@mpp.minn.net> In-Reply-To: <1486.828867685@palmer.demon.co.uk> from "Gary Palmer" at Apr 7, 96 10:01:25 am
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Palmer wrote: > > Bruce Evans wrote in message ID > <199604060739.RAA15696@godzilla.zeta.org.au>: > > > Modified: sys/pccard pccard.c pcic.c > > > Log: > > > pccard.c: > > > #include <i386/include/clock.h> to get sysbeep() prototype > > > > This should be #include <machine/clock.h>. pccard isn't supposed to > > have any i386 dependencies. Similarly for i386/include/laptops.h and > > a few other i386/include's. Don't change this - I'll commit it later. > > I agree, it shouldn't have any i386 dependencies, but using > <machine/clock.h> will just mean that it's dependant on the contents > of /usr/include matching whats in /sys/, which is one reason that I > chose to use the <i386/include> path. I thought we were trying to make > the kernel tree self-contained and not refer to /usr/include if at all > possible? Config should have already created the appropriate symlink for you to make this possible: # ls -l /usr/src/sys/compile/mpp/machine lrwxrwx--- 1 root src 18 Apr 5 19:17 /usr/src/sys/compile/mpp/machine@ -> ../../i386/include -- Mike Pritchard mpp@freebsd.org "Go that way. Really fast. If something gets in your way, turn"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604070918.EAA24688>