Date: Wed, 3 Nov 1999 00:15:53 +0100 From: Nicolas Souchu <nsouch@free.fr> To: "Chris D. Faulhaber" <jedgar@fxp.org> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf files options src/sys/dev/iicbus iic.c iicbus.c iiconf.c src/sys/dev/smbus smb.c smbconf.c smbconf.h smbus.c src/sys/i386/conf LINT src/sys/pci alpm.c intpm.c intpmreg.h pcisupport.c Message-ID: <19991103001553.60865@breizh.free.fr> In-Reply-To: <Pine.BSF.4.20.9911012348020.370-100000@earth.fxp>; from Chris D. Faulhaber on Mon, Nov 01, 1999 at 11:51:58PM -0500 References: <199911012248.OAA38503@freefall.freebsd.org> <Pine.BSF.4.20.9911012348020.370-100000@earth.fxp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 01, 1999 at 11:51:58PM -0500, Chris D. Faulhaber wrote: > >Compiling in iic support now gives: > >cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit >-Wnested-ex >terns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >-Wunini >tialized -Wformat -Wunused -fformat-extensions -ansi -g -nostdinc -I- >-I. -I../ >... -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf >.../../dev >/iicbus/iic.c >.../../dev/iicbus/iic.c: In function `iicioctl': >.../../dev/iicbus/iic.c:232: `O_NONBLOCK' undeclared (first use this >function) >.../../dev/iicbus/iic.c:232: (Each undeclared identifier is reported only >once >.../../dev/iicbus/iic.c:232: for each function it appears in.) >*** Error code 1 > >Stop. Ooops, thanks. > >Changing the following seems to help :) > >Index: src/sys/dev/iicbus//iic.c >=================================================================== >RCS file: /home/ncvs/src/sys/dev/iicbus/iic.c,v >retrieving revision 1.6.2.2 >diff -u -r1.6.2.2 iic.c >--- iic.c 1999/11/01 22:48:27 1.6.2.2 >+++ iic.c 1999/11/02 04:52:11 >@@ -35,6 +35,7 @@ > #include <sys/buf.h> > #include <sys/uio.h> > #include <sys/malloc.h> >+#include <sys/fcntl.h> > > #include <machine/clock.h> > > >----- >Chris D. Faulhaber <jedgar@fxp.org> | All the true gurus I've met never >System/Network Administrator, | claimed they were one and always >Reality Check Information, Inc. | pointed to someone better. > > > > -- nsouch@free.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991103001553.60865>