From 5ae3e75ace912de2de0241ab1830b7aaf1e48e1f Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 7 Jul 2009 10:07:23 -0700 Subject: [PATCH] Wrap new sysevent includes in HAVE_SYSEVENT ifdef --- lib/libzpool/include/sys/zfs_context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libzpool/include/sys/zfs_context.h b/lib/libzpool/include/sys/zfs_context.h index 59e4602f04..f832140c68 100644 --- a/lib/libzpool/include/sys/zfs_context.h +++ b/lib/libzpool/include/sys/zfs_context.h @@ -58,7 +58,6 @@ extern "C" { #include #include #include -#include #include #include #include @@ -72,8 +71,11 @@ extern "C" { #include #include #include +#ifdef HAVE_SYSEVENT +#include #include #include +#endif /* HAVE_SYSEVENT */ /* * Stack