summaryrefslogtreecommitdiff
path: root/sys/arch/usermode/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-01-23 22:31:19 +0000
committerchristos <christos@NetBSD.org>2016-01-23 22:31:19 +0000
commitd9f697f80cd2e71dac1820d6dce6d430b5256dfa (patch)
treee56cbd3ea43bda7943da740468af001352e0b1c2 /sys/arch/usermode/include
parent689e253022a45d0238e7d9e131e3e4781839e384 (diff)
expose the kernel types for standalone code.
Diffstat (limited to 'sys/arch/usermode/include')
-rw-r--r--sys/arch/usermode/include/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/usermode/include/types.h b/sys/arch/usermode/include/types.h
index d0a2d79b448..ff0832c2fbf 100644
--- a/sys/arch/usermode/include/types.h
+++ b/sys/arch/usermode/include/types.h
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.10 2016/01/23 21:22:14 christos Exp $ */
+/* $NetBSD: types.h,v 1.11 2016/01/23 22:31:20 christos Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
@@ -39,7 +39,7 @@ typedef struct label_t {
} label_t;
#endif
-#if defined(_KERNEL) || defined(_KMEMUSER) || defined(_KERNTYPES)
+#if defined(_KERNEL) || defined(_KMEMUSER) || defined(_KERNTYPES) || defined(_STANDALONE)
typedef unsigned long paddr_t;
typedef unsigned long psize_t;
typedef unsigned long vaddr_t;