From 5debddf8aff9cc647cd9eeb89c06a550fbf816e7 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 28 Aug 2016 03:39:49 +0200 Subject: ape: add d_stat struct in dirent struct allowing the avoidance of stats --- sys/include/ape/dirent.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/include') diff --git a/sys/include/ape/dirent.h b/sys/include/ape/dirent.h index 388860067..900e79a60 100644 --- a/sys/include/ape/dirent.h +++ b/sys/include/ape/dirent.h @@ -1,6 +1,11 @@ #ifndef __DIRENT_H #define __DIRENT_H #pragma lib "/$M/lib/ape/libap.a" + +#ifndef __STAT_H +#include +#endif + /* * this must be a power of 2 and a multiple of all the ones in the system */ @@ -8,6 +13,7 @@ struct dirent { char d_name[MAXNAMLEN + 1]; + struct stat d_stat; }; typedef struct _dirdesc { -- cgit v1.2.3