diff options
Diffstat (limited to 'include/sys/zfs_context.h')
-rw-r--r-- | include/sys/zfs_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index f26c827dc..ee8221d53 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -67,6 +67,7 @@ #include <sys/ctype.h> #include <sys/disp.h> #include <linux/dcache_compat.h> +#include <linux/utsname_compat.h> #else /* _KERNEL */ @@ -117,6 +118,7 @@ #include <sys/fm/fs/zfs.h> #include <sys/sunddi.h> #include <sys/debug.h> +#include <sys/utsname.h> /* * Stack @@ -673,6 +675,9 @@ extern int ddi_strtoul(const char *str, char **nptr, int base, extern int ddi_strtoull(const char *str, char **nptr, int base, u_longlong_t *result); +typedef struct utsname utsname_t; +extern utsname_t *utsname(void); + /* ZFS Boot Related stuff. */ struct _buf { |