From 36ecfe5690660610f27d839f3cae31f417b33a04 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 11 Jun 1998 11:32:21 +0000 Subject: Update. 1998-06-03 03:09 Geoff Keating * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll(). * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. 1998-06-03 03:09 Geoff Keating * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this makes it easier to undump emacs. * sysdeps/powerpc/bits/endian.h: Use more informative error message for when the endianness can't be determined. 1998-06-04 13:19 Geoff Keating * nss/Makefile: Add files publickey database support. * nss/libnss_files.map: Export the required functions. * nss/nss_files/files-key.c: Implement it. * sunrpc/rpc/auth_des.h: Correct typos in comments. --- sysdeps/unix/sysv/linux/pread64.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/pread64.c') diff --git a/sysdeps/unix/sysv/linux/pread64.c b/sysdeps/unix/sysv/linux/pread64.c index e2505dbaa4..bd600f17d4 100644 --- a/sysdeps/unix/sysv/linux/pread64.c +++ b/sysdeps/unix/sysv/linux/pread64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -19,6 +19,9 @@ #include #include +#include + +#ifdef __NR_pread extern ssize_t __syscall_pread64 (int fd, void *buf, size_t count, off_t offset_hi, off_t offset_lo); @@ -50,4 +53,5 @@ weak_alias (__pread64, pread64) #define __pread64(fd, buf, count, offset) \ static internal_function __emulate_pread64 (fd, buf, count, offset) +#endif #include -- cgit 1.4.1