summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/readdir.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:10:58 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:10:58 +0000
commit81c39339ef06b8942ee2bbf8a9c5e1e9bae15c0c (patch)
treec12f24375cd6612d2f798bd2b3164834c973b3b0 /libc/misc/dirent/readdir.c
parent9d2c271f9b8da968db8622ef3e77eeec09a4e39f (diff)
Build x64 versions only if LFS is enabled
Diffstat (limited to 'libc/misc/dirent/readdir.c')
-rw-r--r--libc/misc/dirent/readdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/dirent/readdir.c b/libc/misc/dirent/readdir.c
index 48d065f68..2d4ad4aeb 100644
--- a/libc/misc/dirent/readdir.c
+++ b/libc/misc/dirent/readdir.c
@@ -1,3 +1,5 @@
+#include <features.h>
+
#include <errno.h>
#include <stdlib.h>
#include <string.h>
@@ -5,7 +7,6 @@
#include <dirent.h>
#include "dirstream.h"
-#undef readdir
struct dirent attribute_hidden *__readdir(DIR * dir)
{
ssize_t bytes;