summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-08-12 23:22:12 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-08-12 23:22:12 +0000
commitacba7f19846b009a7dbc733896471b107d54dbd5 (patch)
treec98f98b1222c0d18cb42f054565c395b0a1ffe2c
parent15a83d04bba6b93b3c72d351b7a405e8b5651bd8 (diff)
downloadglibc-acba7f19846b009a7dbc733896471b107d54dbd5.tar.gz
*** empty log message ***cvs/libc-960813
-rw-r--r--mach/Makefile3
-rw-r--r--sysdeps/generic/gnu/types.h2
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)))