summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-18 09:12:37 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-18 09:12:37 +0000
commit111a8740a7bd5c414d6c6dba71c3d859431cc5df (patch)
treee962fe4550e2feb00158b50f091b3059906478c5 /sys/ufs/ext2fs
parent67b673f2fd0a08546d7591750be5a11133e79026 (diff)
Don't include sys/systm.h if not _KERNEL.
Diffstat (limited to 'sys/ufs/ext2fs')
-rw-r--r--sys/ufs/ext2fs/ext2fs_bswap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_bswap.c b/sys/ufs/ext2fs/ext2fs_bswap.c
index 201de733e8a..7f14b8ef1d7 100644
--- a/sys/ufs/ext2fs/ext2fs_bswap.c
+++ b/sys/ufs/ext2fs/ext2fs_bswap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_bswap.c,v 1.1 2001/09/18 00:06:21 art Exp $ */
+/* $OpenBSD: ext2fs_bswap.c,v 1.2 2001/09/18 09:12:36 art Exp $ */
/* $NetBSD: ext2fs_bswap.c,v 1.6 2000/07/24 00:23:10 mycroft Exp $ */
/*
@@ -34,7 +34,9 @@
*/
#include <sys/types.h>
+#if defined(_KERNEL)
#include <sys/systm.h>
+#endif
#include <ufs/ext2fs/ext2fs.h>
#include <ufs/ext2fs/ext2fs_dinode.h>