Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Include rumpuser_port.h in rump_syscalls.c when com...



details:   https://anonhg.NetBSD.org/src/rev/4b4ac4d93366
branches:  trunk
changeset: 784082:4b4ac4d93366
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jan 17 21:30:30 2013 +0000

description:
Include rumpuser_port.h in rump_syscalls.c when compiled for librumpclient

diffstat:

 sys/kern/makesyscalls.sh |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a4d762342ea0 -r 4b4ac4d93366 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Thu Jan 17 21:12:39 2013 +0000
+++ b/sys/kern/makesyscalls.sh  Thu Jan 17 21:30:30 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.126 2012/09/20 17:46:21 pooka Exp $
+#      $NetBSD: makesyscalls.sh,v 1.127 2013/01/17 21:30:30 pooka Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -219,6 +219,9 @@
        printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"%s\");\n\n", tag > sysnames
 
        printf " * created from%s\n */\n\n", $0 > rumpcalls
+       printf "#ifdef RUMP_CLIENT\n" > rumpcalls
+       printf "#include \"rumpuser_port.h\"\n" > rumpcalls
+       printf "#endif /* RUMP_CLIENT */\n\n" > rumpcalls
        printf "#include <sys/param.h>\n\n" > rumpcalls
        printf "#ifdef __NetBSD__\n" > rumpcalls
        printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"%s\");\n\n", tag > rumpcalls



Home | Main Index | Thread Index | Old Index