Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/include/rump Necessary _KERNEL wrap to previous.



details:   https://anonhg.NetBSD.org/src/rev/5bec3b257fed
branches:  trunk
changeset: 782755:5bec3b257fed
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Nov 18 21:19:52 2012 +0000

description:
Necessary _KERNEL wrap to previous.

diffstat:

 sys/rump/include/rump/makerumpdefs.sh |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 73c13392aca4 -r 5bec3b257fed sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh     Sun Nov 18 19:52:40 2012 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh     Sun Nov 18 21:19:52 2012 +0000
@@ -8,12 +8,16 @@
 rm -f rumpdefs.h
 exec > rumpdefs.h
 
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.10 2012/11/18 19:25:09 pooka Exp $ */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.11 2012/11/18 21:19:52 pooka Exp $ */\n\n'
 printf '/*\n *\tAUTOMATICALLY GENERATED.  DO NOT EDIT.\n */\n\n'
 printf '#ifndef _RUMP_RUMPDEFS_H_\n'
 printf '#define _RUMP_RUMPDEFS_H_\n\n'
 printf '#include <rump/rump_namei.h>\n'
-printf '#include <inttypes.h>\n'
+printf '#ifdef _KERNEL\n'
+printf '#include <sys/stdint.h>\n'
+printf '#else\n'
+printf '#include <stdint.h>\n'
+printf '#endif\n'
 
 fromvers () {
        echo



Home | Main Index | Thread Index | Old Index