summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-30 01:31:18 +0000
committerRoland McGrath <roland@gnu.org>2002-08-30 01:31:18 +0000
commit7a9ce79a3b0746e0db7d3cc4264a78a9d79620a3 (patch)
tree4a2abc188ca0309eabf51e382a8aed90119c5198 /mach
parent868b78c83cef264d69a854d9128a68845f346fe3 (diff)
* sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.
* sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64). * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort. * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto. * assert/assert-perr.c: Add libc_hidden_def. * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function. * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions found at all. * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat sys_errlist stuff to ... * sysdeps/unix/sysv/linux/Versions: ... here. * mach/mach.h: Include <features.h>.
Diffstat (limited to 'mach')
-rw-r--r--mach/mach.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/mach/mach.h b/mach/mach.h
index 819c75561b..f8fd44bb00 100644
--- a/mach/mach.h
+++ b/mach/mach.h
@@ -1,5 +1,5 @@
/* Standard header for all Mach programs.
- Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1993,94,96,97,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,6 +21,10 @@
#define _MACH_H 1
+/* We must include this before using __need_FILE with <stdio.h> below. */
+#include <features.h>
+
+
/* Get the basic types used by Mach. */
#include <mach/mach_types.h>