summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs/xfs
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-12-12 03:21:37 +0000
committerrodrigc <rodrigc@FreeBSD.org>2005-12-12 03:21:37 +0000
commit2721ded13f00aff0bc678162df369d40313ae393 (patch)
tree9da0303b26145155a70eb30686b200dd91649627 /sys/gnu/fs/xfs
parenta60289fdf509406036bcf7313f32e9c16f33ec9e (diff)
downloadFreeBSD-src-2721ded13f00aff0bc678162df369d40313ae393.zip
FreeBSD-src-2721ded13f00aff0bc678162df369d40313ae393.tar.gz
#define __user to nothing
Diffstat (limited to 'sys/gnu/fs/xfs')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h
index d7a30d6..a75600e 100644
--- a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h
+++ b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h
@@ -206,6 +206,10 @@
#define howmany(x, y) (((x)+((y)-1))/(y))
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
+#ifndef __user
+#define __user
+#endif
+
/*
* Juggle IRIX device numbers - still used in ondisk structures
*/
OpenPOWER on IntegriCloud