diff options
-rw-r--r-- | mach/Makefile | 3 | ||||
-rw-r--r-- | sysdeps/generic/gnu/types.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mach/Makefile b/mach/Makefile index e15e2f5c8e..31ec7e0eae 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -109,7 +109,7 @@ endif # Make the MiG stubs for $(mach-shortcuts) be CALL_rpc. migdefines += $(foreach call,$(mach-shortcuts),-D$(call)=$(call)_rpc) -mach/mach_interface.uh mach/mach_port.uh: $(objpfx)mach-syscalls.mk +mach/mach_interface.uh mach/mach_host.uh mach/mach_port.uh: $(objpfx)mach-syscalls.mk ifdef mach-shortcuts $(mach-shortcuts:%=$(objpfx)%.c): $(objpfx)%.c: shortcut.awk \ @@ -123,6 +123,7 @@ endif # mach-shortcuts # Generate mach-shortcuts.h, which will contain the prototypes for the # shortcutted kernel RPC functions. $(objpfx)mach-shortcuts.h: $(objpfx)mach/mach_interface.h \ + $(objpfx)mach/mach_host.h \ $(objpfx)mach/mach_port.h # The first line gets us one paragraph per line, with @s separating real lines. # The second line selects paragraphs for the shortcutted functions. diff --git a/sysdeps/generic/gnu/types.h b/sysdeps/generic/gnu/types.h index 3f0c806f19..decd26cac8 100644 --- a/sysdeps/generic/gnu/types.h +++ b/sysdeps/generic/gnu/types.h @@ -74,6 +74,8 @@ typedef struct unsigned long int fds_bits[(__FD_SETSIZE + (__NFDBITS - 1)) / __NFDBITS]; } __fd_set; +typedef unsigned long __fd_mask; + /* This line MUST be split! Otherwise m4 will not change it. */ #define __FD_ZERO(set) \ ((void) memset ((__ptr_t) (set), 0, sizeof (fd_set))) |