Add wrapper for lseek().


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@61 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 2f7b5b3..1d776d0 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -390,6 +390,15 @@
   return __libc_fsync(fd);
 }
 
+extern
+off_t __libc_lseek(int fildes, off_t offset, int whence);
+off_t lseek(int fildes, off_t offset, int whence)
+{
+  return __libc_lseek(fildes, offset, whence);
+}
+
+/*--------------------------------------------------*/
+
 /* I've no idea what these are, but they get called quite a lot.
    Anybody know? */