summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/seekdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent/seekdir.c')
-rw-r--r--libc/misc/dirent/seekdir.c3
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);