From 2cd31b723ea79e8a3cc54fed10554b9c551b2543 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 18 Feb 2009 16:00:50 -0800 Subject: [PATCH] Add HW_HOSTID_LEN for libspl use --- lib/libspl/include/sys/systeminfo.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libspl/include/sys/systeminfo.h b/lib/libspl/include/sys/systeminfo.h index 5d7e41c435..9f561aaa8a 100644 --- a/lib/libspl/include/sys/systeminfo.h +++ b/lib/libspl/include/sys/systeminfo.h @@ -27,6 +27,11 @@ #ifndef _LIBSPL_SYS_SYSTEMINFO_H #define _LIBSPL_SYS_SYSTEMINFO_H +#define HW_INVALID_HOSTID 0xFFFFFFFF /* an invalid hostid */ +#define HW_HOSTID_LEN 11 /* minimum buffer size needed */ + /* to hold a decimal or hex */ + /* hostid string */ + #define sysinfo(cmd,buf,cnt) (-1) #endif