diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-14 11:09:46 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-14 11:09:46 +0000 |
commit | 62653059d61eae9c559b514bb126df9e2e845273 (patch) | |
tree | a295a9292cd4d22e4932e0054afd83cb268fbf15 /libc/misc/dirent/seekdir.c | |
parent | a5cc55111f77315fc7e04613772237b52a3dbfdf (diff) |
Scrub up some lingering problems preventing readdir64 from working
and creating several *64 problems, particualrly when client apps
used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now.
-Erik
Diffstat (limited to 'libc/misc/dirent/seekdir.c')
-rw-r--r-- | libc/misc/dirent/seekdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/dirent/seekdir.c b/libc/misc/dirent/seekdir.c index 3ff9f5da9..a1649c9b3 100644 --- a/libc/misc/dirent/seekdir.c +++ b/libc/misc/dirent/seekdir.c @@ -1,9 +1,10 @@ +#include <dirent.h> #include <errno.h> #include <unistd.h> #include "dirstream.h" -void seekdir(DIR * dir, off_t offset) +void seekdir(DIR * dir, long int offset) { if (!dir) { __set_errno(EBADF); |