summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-23 17:56:55 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-23 17:56:55 +0000
commit39bf3c74cb1681ca4900cf9a7660604590908a93 (patch)
treecf35f155d5b4d891128b37f1416fd57c081ef5a1 /libc/sysdeps/linux/common/getdents.c
parent9ef33266bfb84d65c760ccfbce8384e76ad3e14d (diff)
Just define __kernel_off_t ourselves...
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
-rw-r--r--libc/sysdeps/linux/common/getdents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 20d79868c..7bb129a51 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -27,7 +27,7 @@
#include <sysdep.h>
-#include <bits/posix_types.h>
+typedef long __kernel_off_t;
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)