Hi,

Apparently this routine only wants the Rump version of <sys/mount.h> when
building with Rump namespace, but it includes the header unconditionally.

This is usually harmless as almost everyone has <sys/mount.h>, but GNU/Hurd
doesn't. So my patch just moves it into Rump protected space.

-- 
Robert Millan
--- a/buildrump.sh/src/sys/sys/syscallargs.h
+++ b/buildrump.sh/src/sys/sys/syscallargs.h
@@ -10,8 +10,8 @@
 #ifndef _SYS_SYSCALLARGS_H_
 #define	_SYS_SYSCALLARGS_H_
 
-#include <sys/mount.h>
 #ifndef RUMP_CLIENT
+#include <sys/mount.h>
 #include <sys/sched.h>
 #endif
 #include <sys/socket.h>

Reply via email to