damn solaris doesn't prototype it's functions correctly. grrr.
authorAndrew Tridgell <tridge@samba.org>
Wed, 6 May 1998 07:35:37 +0000 (07:35 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 6 May 1998 07:35:37 +0000 (07:35 +0000)
syscall.c

index 96b42b6..c6fd354 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -128,6 +128,7 @@ int do_fstat(int fd, STRUCT_STAT *st)
 OFF_T do_lseek(int fd, OFF_T offset, int whence)
 {
 #if HAVE_OFF64_T
+       off64_t lseek64();
        return lseek64(fd, offset, whence);
 #else
        return lseek(fd, offset, whence);