summaryrefslogtreecommitdiffstats
path: root/module/zcommon/zfs_prop.c
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2014-11-14 10:21:53 -0800
committerBrian Behlendorf <[email protected]>2014-11-19 12:30:39 -0500
commitaaed7c408c0bd72c6f9437793a98542972f0a8fd (patch)
tree1880a1f7d7c72e7e1ec041bd31dca9e44bbe287c /module/zcommon/zfs_prop.c
parent7b2d78a046aa4695d434478a439a9438521d73af (diff)
Explicitly include SPL compat headers
Inclusion of SPL compatibility headers was moved out of the public header sys/types.h to avoid conflicts with external packages. Include a few compatiblity headers explicitly to cope with that change. Also, sort some linux-specific inclusions alphabetically. Signed-off-by: Ned Bass <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2898
Diffstat (limited to 'module/zcommon/zfs_prop.c')
-rw-r--r--module/zcommon/zfs_prop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c
index e60c4f7d4..18b5f951e 100644
--- a/module/zcommon/zfs_prop.c
+++ b/module/zcommon/zfs_prop.c
@@ -678,6 +678,7 @@ zfs_prop_align_right(zfs_prop_t prop)
#endif
#if defined(_KERNEL) && defined(HAVE_SPL)
+#include <linux/module_compat.h>
static int zcommon_init(void) { return 0; }
static int zcommon_fini(void) { return 0; }