Source-Changes-HG archive

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

[src/trunk]: src/sys/kern <sys/mount.h> is necessary only with !RUMP_CLIENT, ...



details:   https://anonhg.NetBSD.org/src/rev/3914b19febbe
branches:  trunk
changeset: 340139:3914b19febbe
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 24 16:05:46 2015 +0000

description:
<sys/mount.h> is necessary only with !RUMP_CLIENT, so include it only
in that case.  Fixes build for Hurd (which does not provide <sys/mount.h>)

from rmh%gnu.org@localhost

diffstat:

 sys/kern/syscalls.conf |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 92cbfe94d9d4 -r 3914b19febbe sys/kern/syscalls.conf
--- a/sys/kern/syscalls.conf    Mon Aug 24 15:50:47 2015 +0000
+++ b/sys/kern/syscalls.conf    Mon Aug 24 16:05:46 2015 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: syscalls.conf,v 1.23 2015/05/09 05:57:18 pgoyette Exp $
+#      $NetBSD: syscalls.conf,v 1.24 2015/08/24 16:05:46 pooka Exp $
 
 sysnames="syscalls.c"
 sysnumhdr="../sys/syscall.h"
 syssw="init_sysent.c"
 systrace="systrace_args.c"
 sysarghdr="../sys/syscallargs.h"
-sysarghdrextra='#include <sys/mount.h>\n#ifndef RUMP_CLIENT\n#include <sys/sched.h>\n#endif\n#include <sys/socket.h>\n\n'
+sysarghdrextra='#ifndef RUMP_CLIENT\n#include <sys/mount.h>\n#include <sys/sched.h>\n#endif\n#include <sys/socket.h>\n\n'
 sysautoload="syscalls_autoload.c"
 sysalign=1
 rumpcalls="../rump/librump/rumpkern/rump_syscalls.c"



Home | Main Index | Thread Index | Old Index