summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_bswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_bswap.c')
-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>