Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Make syscallargs.h include <sys/sched.h> for cpuset...
details: https://anonhg.NetBSD.org/src/rev/d2651b9fc884
branches: trunk
changeset: 761004:d2651b9fc884
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Jan 18 17:33:05 2011 +0000
description:
Make syscallargs.h include <sys/sched.h> for cpuset_t typedef for
the benefit of ports where it does not get typedef'd via autoinclusion
of other headers.
problem pointed out & fix proposed by Izumi Tsutsui
diffstat:
sys/kern/syscalls.conf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 975e3726177d -r d2651b9fc884 sys/kern/syscalls.conf
--- a/sys/kern/syscalls.conf Tue Jan 18 16:45:11 2011 +0000
+++ b/sys/kern/syscalls.conf Tue Jan 18 17:33:05 2011 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: syscalls.conf,v 1.15 2010/03/02 19:33:12 pooka Exp $
+# $NetBSD: syscalls.conf,v 1.16 2011/01/18 17:33:05 pooka Exp $
sysnames="syscalls.c"
sysnumhdr="../sys/syscall.h"
syssw="init_sysent.c"
sysarghdr="../sys/syscallargs.h"
-sysarghdrextra='#include <sys/mount.h>\n\n'
+sysarghdrextra='#include <sys/mount.h>\n#include <sys/sched.h>\n\n'
sysalign=1
rumpcalls="../rump/librump/rumpkern/rump_syscalls.c"
rumpcallshdr="../rump/include/rump/rump_syscalls.h"
Home |
Main Index |
Thread Index |
Old Index