summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2005-11-04 17:00:43 +0000
committerchs <chs@NetBSD.org>2005-11-04 17:00:43 +0000
commitdf018c387bcfea54de62ef1a329730ea49c09560 (patch)
treea111934920ba84164579e6078c05fd0a662e8e68 /sys/compat/linux
parentb72e0d5382171ed086fc50fbcf585123777c85c2 (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.c5
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>