Re: make buildworld errors (libcam)

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Wed, 3 Sep 2003 03:03:04 -0700 (PDT)
On  3 Sep, Michael Bretterklieber wrote:
> Hi,
> 
> buildworld fails (cvsup some minutes ago):
> In file included from /usr/src/sys/cam/scsi/scsi_da.c:51:
> /usr/src/sys/sys/taskqueue.h:33:2: #error "no user-servicable parts
> inside"
> mkdep: compile failed

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
_at__at_ -48,7 +48,9 _at__at_
 #include <sys/eventhandler.h>
 #include <sys/malloc.h>
 #include <sys/cons.h>
+#ifdef _KERNEL
 #include <sys/taskqueue.h>
+#endif /* _KERNEL */
 
 #include <machine/md_var.h>
 
Received on Wed Sep 03 2003 - 01:03:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC