$NetBSD: patch-aj,v 1.2 1998/12/29 08:12:04 garbled Exp $ --- mit-pthreads/pthreads/fd.c.orig Tue Jan 13 06:28:04 1998 +++ mit-pthreads/pthreads/fd.c Mon Dec 28 23:50:16 1998 @@ -44,6 +44,7 @@ #include #include +#include #include #include #include @@ -702,7 +703,7 @@ */ off_t lseek(int fd, off_t offset, int whence) { - int ret; + off_t ret; if ((ret = fd_lock(fd, FD_RDWR, NULL)) == OK) { ret = fd_table[fd]->ops->seek(fd_table[fd]->fd,