--- dietlibc-0.27/x86_64/lseek64.S.x86_64-lseek64 2004-10-26 18:19:53.823067170 -0400 +++ dietlibc-0.27/x86_64/lseek64.S 2004-10-26 18:21:00.044425442 -0400 @@ -0,0 +1,3 @@ +#include "syscalls.h" + +syscall_weak(lseek,lseek64,__libc_lseek64) --- dietlibc-0.27/include/unistd.h.x86_64-lseek64 2004-07-02 10:47:06.000000000 -0400 +++ dietlibc-0.27/include/unistd.h 2005-03-29 09:12:08.167017782 -0500 @@ -34,8 +34,8 @@ int access (const char *__name, int __ty #define STDERR_FILENO 2 off_t lseek(int fildes, off_t offset, int whence) __THROW; +off64_t lseek64(int fildes, off64_t offset, int whence) __THROW; #ifndef __NO_STAT64 -loff_t lseek64(int fildes, loff_t offset, int whence) __THROW; #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 #define lseek(fildes,offset,whence) lseek64(fildes,offset,whence) #endif