summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-06-01 19:01:47 +0000
committerimp <imp@FreeBSD.org>2006-06-01 19:01:47 +0000
commita5403d89c2ba8a650798cf29f2b84282f25a08a7 (patch)
treef85f196cbf43dac47d72521176d26c1f2d08eece /sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c
parent55e41f7b78653de1bd2f8c4673126a703c346735 (diff)
downloadFreeBSD-src-a5403d89c2ba8a650798cf29f2b84282f25a08a7.zip
FreeBSD-src-a5403d89c2ba8a650798cf29f2b84282f25a08a7.tar.gz
Cope with -Wundef. This means including xfs_macros.h early in a few more
files and changing #if XXXKAN -> #ifdef XXXKAN. # this is just compile tested, since I don't have xfs partitions.
Diffstat (limited to 'sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c b/sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c
index 40c3159..323a1c0 100644
--- a/sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c
+++ b/sys/gnu/fs/xfs/FreeBSD/xfs_ioctl.c
@@ -32,6 +32,7 @@
#include "xfs.h"
+#include "xfs_macros.h"
#include "xfs_fs.h"
#include "xfs_inum.h"
#include "xfs_log.h"
@@ -68,7 +69,7 @@
#include "xfs_fsops.h"
-#if XXXKAN
+#ifdef XXXKAN
/*
* ioctl commands that are used by Linux filesystems
*/
OpenPOWER on IntegriCloud