diff options
-rw-r--r-- | libnvpair.c | 2 | ||||
-rw-r--r-- | nvpair.h | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/libnvpair.c b/libnvpair.c index c2e5a1b..9c951c5 100644 --- a/libnvpair.c +++ b/libnvpair.c @@ -27,7 +27,7 @@ #include <strings.h> #include <libintl.h> #include <sys/types.h> -#include <sys/inttypes.h> +#include <inttypes.h> #include <stdarg.h> #include <note.h> #include "libnvpair.h" @@ -30,6 +30,7 @@ #include <sys/time.h> #include <sys/errno.h> #include <stdarg.h> +#include <inttypes.h> #if defined(_KERNEL) && !defined(_BOOT) #include <sys/kmem.h> @@ -39,6 +40,14 @@ #define TEXT_DOMAIN "SYS_TEST" #endif +typedef unsigned int uint_t; +typedef unsigned char uchar_t; +typedef long long longlong_t; +typedef longlong_t hrtime_t; +typedef unsigned long ulong_t; +typedef unsigned long long u_longlong_t; +typedef enum { B_FALSE, B_TRUE } boolean_t; + #ifdef __cplusplus extern "C" { #endif |