Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 23:51:58 -0500 (EST)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        Nicolas Souchu <nsouch@FreeBSD.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:  <Pine.BSF.4.20.9911012348020.370-100000@earth.fxp>
In-Reply-To: <199911012248.OAA38503@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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.





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?Pine.BSF.4.20.9911012348020.370-100000>