summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-01-02 14:47:15 +0000
committerthorpej <thorpej@NetBSD.org>2002-01-02 14:47:15 +0000
commitdb5e19a2116a8fbc61dd0555db8cc9ee1386cd18 (patch)
tree521947a36266dd715cbc46d35229127170adb7d9 /sys
parent0aade05680f1f359e2eb7e4774988897bbb0dfa1 (diff)
Need <sys/systm.h> for ffs() prototype (noticed by gcc 3.1).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/algor/algor/disksubr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/algor/algor/disksubr.c b/sys/arch/algor/algor/disksubr.c
index 32350bc2d62..811b661041c 100644
--- a/sys/arch/algor/algor/disksubr.c
+++ b/sys/arch/algor/algor/disksubr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.3 2001/08/24 02:07:34 simonb Exp $ */
+/* $NetBSD: disksubr.c,v 1.4 2002/01/02 14:47:15 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.3 2001/08/24 02:07:34 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.4 2002/01/02 14:47:15 thorpej Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -37,6 +37,7 @@ __KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.3 2001/08/24 02:07:34 simonb Exp $");
#include <sys/device.h>
#include <sys/disklabel.h>
#include <sys/disk.h>
+#include <sys/systm.h>
#include <machine/cpu.h>
#include <machine/autoconf.h>