Module Name: src
Committed By: matt
Date: Wed Sep 9 04:48:28 UTC 2009
Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: types.h
Log Message:
Expose label_t if NETBSD_SOURCE to make libkvm happy when including <mips/pcb.h>
To generate a diff of this commit:
cvs rdiff -u -r1.43.36.8 -r1.43.36.9 src/sys/arch/mips/include/types.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/types.h
diff -u src/sys/arch/mips/include/types.h:1.43.36.8 src/sys/arch/mips/include/types.h:1.43.36.9
--- src/sys/arch/mips/include/types.h:1.43.36.8 Mon Sep 7 21:28:01 2009
+++ src/sys/arch/mips/include/types.h Wed Sep 9 04:48:28 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.43.36.8 2009/09/07 21:28:01 matt Exp $ */
+/* $NetBSD: types.h,v 1.43.36.9 2009/09/09 04:48:28 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -106,7 +106,7 @@
#define PRIxUREGISTER PRIx64
#endif /* __mips_o32 */
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(_NETBSD_SOURCE)
typedef struct label_t {
register_t val[14];
} label_t;