summaryrefslogtreecommitdiff
path: root/nvpair.h
diff options
context:
space:
mode:
authorMike Harsch <mike@harschsystems.com>2012-10-23 10:00:52 -0600
committerMike Harsch <mike@harschsystems.com>2012-10-23 10:07:24 -0600
commit409d5bb7bccf367bbd96d0a74494c0451a8f66d3 (patch)
treefcf74a64cfd06290f0c69305676ac6fb5eb460b7 /nvpair.h
parent07e76f7a7df8ad4c6f572f1e7b5d850d5b9bddab (diff)
downloadlibnvpair-409d5bb7bccf367bbd96d0a74494c0451a8f66d3.tar.gz
define non-standard types
Diffstat (limited to 'nvpair.h')
-rw-r--r--nvpair.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/nvpair.h b/nvpair.h
index 5c62f1d..6abd3e5 100644
--- a/nvpair.h
+++ b/nvpair.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