From 7dfb1b48212410af22442fe04d8dd67b9adf4c23 Mon Sep 17 00:00:00 2001 From: mav Date: Mon, 10 Aug 2015 12:25:26 +0000 Subject: [PATCH] Fix r286574 build in user-space. --- sys/cddl/compat/opensolaris/sys/kstat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cddl/compat/opensolaris/sys/kstat.h b/sys/cddl/compat/opensolaris/sys/kstat.h index 940d179ac2bf..fdd3aa729760 100644 --- a/sys/cddl/compat/opensolaris/sys/kstat.h +++ b/sys/cddl/compat/opensolaris/sys/kstat.h @@ -44,9 +44,9 @@ typedef struct kstat { #ifdef _KERNEL struct sysctl_ctx_list ks_sysctl_ctx; struct sysctl_oid *ks_sysctl_root; +#endif int (*ks_update)(struct kstat *, int); /* dynamic update */ void *ks_private; /* arbitrary provider-private data */ -#endif } kstat_t; typedef struct kstat_named {