summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/dietdirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/dietdirent.h')
-rw-r--r--mdk-stage1/dietlibc/dietdirent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/dietlibc/dietdirent.h b/mdk-stage1/dietlibc/dietdirent.h
index d732cf7dc..dbd7206a6 100644
--- a/mdk-stage1/dietlibc/dietdirent.h
+++ b/mdk-stage1/dietlibc/dietdirent.h
@@ -1,6 +1,8 @@
+#include <sys/shm.h>
+
struct __dirstream {
int fd;
- char buf[1024];
+ char buf[PAGE_SIZE-(sizeof (int)*3)];
unsigned int num;
unsigned int cur;
}; /* stream data from opendir() */