aboutsummaryrefslogtreecommitdiffstats
path: root/module/zcommon/zprop_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zcommon/zprop_common.c')
-rw-r--r--module/zcommon/zprop_common.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/zcommon/zprop_common.c b/module/zcommon/zprop_common.c
index 8416983fd..c4256c66f 100644
--- a/module/zcommon/zprop_common.c
+++ b/module/zcommon/zprop_common.c
@@ -41,11 +41,7 @@
#include "zfs_prop.h"
#include "zfs_deleg.h"
-#if defined(_KERNEL)
-#include <linux/sort.h>
-#define qsort(base, num, size, cmp) \
- sort(base, num, size, cmp, NULL)
-#else
+#if !defined(_KERNEL)
#include <stdlib.h>
#include <string.h>
#include <ctype.h>