Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Allow this to be included in libkern



details:   https://anonhg.NetBSD.org/src/rev/cf239ffa7f06
branches:  trunk
changeset: 784292:cf239ffa7f06
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jan 24 10:14:17 2013 +0000

description:
Allow this to be included in libkern

diffstat:

 sys/arch/arm/include/aeabi.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 10dba3496a41 -r cf239ffa7f06 sys/arch/arm/include/aeabi.h
--- a/sys/arch/arm/include/aeabi.h      Thu Jan 24 10:13:35 2013 +0000
+++ b/sys/arch/arm/include/aeabi.h      Thu Jan 24 10:14:17 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aeabi.h,v 1.2 2012/08/11 16:21:26 matt Exp $   */
+/*     $NetBSD: aeabi.h,v 1.3 2013/01/24 10:14:17 matt Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,11 @@
 #ifndef _ARM_AEABI_H_
 #define        _ARM_AEABI_H_
 
+#ifdef _KERNEL
+#include <sys/types.h>
+#else
 #include <stddef.h>
+#endif
 
 #define        __value_in_regs         /* nothing */
 



Home | Main Index | Thread Index | Old Index