summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/common/dir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h
index a35e3fc9a8..5a7cd06429 100644
--- a/firmware/common/dir.h
+++ b/firmware/common/dir.h
@@ -20,11 +20,15 @@
20#ifndef _DIR_H_ 20#ifndef _DIR_H_
21#define _DIR_H_ 21#define _DIR_H_
22 22
23#ifndef DIRENT_DEFINED
24
23struct dirent { 25struct dirent {
24 unsigned char d_name[256]; 26 unsigned char d_name[256];
25 int attribute; 27 int attribute;
26 int size; 28 int size;
27}; 29};
30#endif
31
28 32
29#ifndef SIMULATOR 33#ifndef SIMULATOR
30typedef struct { 34typedef struct {