From ef6d827a88d9c4afe93b28d80a7a2bfbadd258c6 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 13 Jan 2009 09:53:35 -0800 Subject: [PATCH] Don't check HAVE_SPL unavailable in userspace build --- lib/libzfs/libzfs_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c index c377d51504..605c91a4ce 100644 --- a/lib/libzfs/libzfs_util.c +++ b/lib/libzfs/libzfs_util.c @@ -560,7 +560,7 @@ libzfs_init(void) return (NULL); } -#if defined(HAVE_SPL) && !defined(HAVE_GPL_ONLY_SYMBOLS) +#if !defined(HAVE_GPL_ONLY_SYMBOLS) /* If we don't have access to GPL-only symbols then we may not * use the udev APIs, therefore we must mknod the device ourselves. */ (void)mknod(ZFS_DEV, S_IFCHR | 0600, makedev(ZFS_MAJOR, 0));