aboutsummaryrefslogtreecommitdiffstats
path: root/module/nvpair
diff options
context:
space:
mode:
Diffstat (limited to 'module/nvpair')
-rw-r--r--module/nvpair/nvpair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c
index f5c31663a..9fd486bca 100644
--- a/module/nvpair/nvpair.c
+++ b/module/nvpair/nvpair.c
@@ -3293,6 +3293,7 @@ nvs_xdr(nvstream_t *nvs, nvlist_t *nvl, char *buf, size_t *buflen)
}
#if defined(_KERNEL) && defined(HAVE_SPL)
+#include <linux/module_compat.h>
static int nvpair_init(void) { return 0; }
static int nvpair_fini(void) { return 0; }