diff options
author | Mike Harsch <mike@harschsystems.com> | 2012-10-23 10:00:52 -0600 |
---|---|---|
committer | Mike Harsch <mike@harschsystems.com> | 2012-10-23 10:07:24 -0600 |
commit | 409d5bb7bccf367bbd96d0a74494c0451a8f66d3 (patch) | |
tree | fcf74a64cfd06290f0c69305676ac6fb5eb460b7 /nvpair.h | |
parent | 07e76f7a7df8ad4c6f572f1e7b5d850d5b9bddab (diff) | |
download | libnvpair-409d5bb7bccf367bbd96d0a74494c0451a8f66d3.tar.gz |
define non-standard types
Diffstat (limited to 'nvpair.h')
-rw-r--r-- | nvpair.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |