From e2c7e1de2b8f2539d613b7c7adeb65132bb1f0ce Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Mar 2006 05:32:59 +0000 Subject: * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto. * io/openat.c (__openat): Define instead of openat. Use libc_hidden_def. Define openat with weak_alias. * io/openat64.c (__openat64): Define instead of openat64. Use libc_hidden_def. Define openat64 with weak_alias. * sysdeps/unix/sysv/linux/openat.c: Likewise. * libio/genops.c: Include for __sched_yield decl. --- libio/genops.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libio') diff --git a/libio/genops.c b/libio/genops.c index 030343e..5f22352 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -34,6 +34,9 @@ #endif #include #include +#ifdef _LIBC +#include +#endif #ifdef _IO_MTSAFE_IO static _IO_lock_t list_all_lock = _IO_lock_initializer; -- cgit v1.1