From cc6e67fa7ff10eb50c4c058de11239a875808774 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 9 Jul 2009 08:40:33 -0700 Subject: [PATCH] Wrap sysevent includes until sysevent or something like it is implemented. --- module/zfs/include/sys/zfs_context.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/include/sys/zfs_context.h b/module/zfs/include/sys/zfs_context.h index 2ce5c9da4d..29b88a37fa 100644 --- a/module/zfs/include/sys/zfs_context.h +++ b/module/zfs/include/sys/zfs_context.h @@ -58,9 +58,11 @@ extern "C" { #include #include #include +#ifdef HAVE_SYSEVENT #include #include #include +#endif /* HAVE_SYSEVENT */ #include #ifdef __cplusplus