diff options
author | Roland McGrath <roland@gnu.org> | 2006-03-01 05:32:59 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-03-01 05:32:59 +0000 |
commit | e2c7e1de2b8f2539d613b7c7adeb65132bb1f0ce (patch) | |
tree | 7b48cb055b65cf11b56000bb84d37a23365520bf /libio/genops.c | |
parent | 3192fd8e464f2364347979fd58ae95d03bbe74e6 (diff) | |
download | glibc-e2c7e1de2b8f2539d613b7c7adeb65132bb1f0ce.zip glibc-e2c7e1de2b8f2539d613b7c7adeb65132bb1f0ce.tar.gz glibc-e2c7e1de2b8f2539d613b7c7adeb65132bb1f0ce.tar.bz2 |
* 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 <sched.h> for __sched_yield decl.
Diffstat (limited to 'libio/genops.c')
-rw-r--r-- | libio/genops.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <string.h> #include <stdbool.h> +#ifdef _LIBC +#include <sched.h> +#endif #ifdef _IO_MTSAFE_IO static _IO_lock_t list_all_lock = _IO_lock_initializer; |