diff options
| author | chs <chs@NetBSD.org> | 2005-11-04 17:00:43 +0000 |
|---|---|---|
| committer | chs <chs@NetBSD.org> | 2005-11-04 17:00:43 +0000 |
| commit | df018c387bcfea54de62ef1a329730ea49c09560 (patch) | |
| tree | a111934920ba84164579e6078c05fd0a662e8e68 /sys/compat/linux | |
| parent | b72e0d5382171ed086fc50fbcf585123777c85c2 (diff) | |
make this compile on m68k by including sys/device.h explicitly.
on other platforms it's apparently included implicitly, probably through cpu.h.
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/common/linux_sg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_sg.c b/sys/compat/linux/common/linux_sg.c index 81a4bc64edb..5b70d3e15b5 100644 --- a/sys/compat/linux/common/linux_sg.c +++ b/sys/compat/linux/common/linux_sg.c @@ -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> |
