summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/telldir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent/telldir.c')
-rw-r--r--libc/misc/dirent/telldir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/dirent/telldir.c b/libc/misc/dirent/telldir.c
index 872cddbf1..8c13a9c23 100644
--- a/libc/misc/dirent/telldir.c
+++ b/libc/misc/dirent/telldir.c
@@ -1,9 +1,10 @@
+#include <dirent.h>
#include <errno.h>
#include <unistd.h>
#include "dirstream.h"
-off_t telldir(DIR * dir)
+long int telldir(DIR * dir)
{
off_t offset;