make this compile on m68k by including sys/device.h explicitly.
on other platforms it's apparently included implicitly, probably through cpu.h.
This commit is contained in:
parent
b72e0d5382
commit
df018c387b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_sg.c,v 1.5 2005/02/26 23:10:19 perry Exp $ */
|
||||
/* $NetBSD: linux_sg.c,v 1.6 2005/11/04 17:00:43 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Soren S. Jorvang. All rights reserved.
|
||||
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_sg.c,v 1.5 2005/02/26 23:10:19 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_sg.c,v 1.6 2005/11/04 17:00:43 chs Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -35,6 +35,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_sg.c,v 1.5 2005/02/26 23:10:19 perry Exp $");
|
|||
#include <sys/filedesc.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <sys/scsiio.h>
|
||||
#include <dev/scsipi/scsipi_all.h>
|
||||
|
|
Loading…
Reference in New Issue