From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 03:47:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B5E116A4BF; Wed, 3 Sep 2003 03:47:52 -0700 (PDT) Received: from beast.jawa.at (jawa.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62A9344020; Wed, 3 Sep 2003 03:47:51 -0700 (PDT) (envelope-from mbretter@jawa.at) Received: from localhost.jawa.at (beast.jawa.at [192.168.200.10]) by beast.jawa.at (Postfix) with ESMTP id CC5BA2D6DB; Wed, 3 Sep 2003 12:47:49 +0200 (CEST) Date: Wed, 3 Sep 2003 12:47:46 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Sommerzeit?=) From: Michael Bretterklieber To: Don Lewis In-Reply-To: <200309031003.h83A34r1039057@gw.catspoiler.org> Message-ID: References: <200309031003.h83A34r1039057@gw.catspoiler.org> X-X-Sender: mbretter@mail.jawa.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@FreeBSD.org Subject: Re: make buildworld errors (libcam) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 10:47:52 -0000 Hi, On Wed, 3 Sep 2003, Don Lewis wrote: > > The following patch works for me: > > Index: sys/cam/scsi/scsi_da.c > =================================================================== > RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v > retrieving revision 1.157 > diff -u -r1.157 scsi_da.c > --- sys/cam/scsi/scsi_da.c 3 Sep 2003 04:46:28 -0000 1.157 > +++ sys/cam/scsi/scsi_da.c 3 Sep 2003 07:35:54 -0000 > @@ -48,7 +48,9 @@ > #include > #include > #include > +#ifdef _KERNEL > #include > +#endif /* _KERNEL */ > > #include for me too :-) thanx, bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972