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 a35e3fc..5a7cd06 100644
--- a/firmware/common/dir.h
+++ b/firmware/common/dir.h
@@ -20,11 +20,15 @@
#ifndef _DIR_H_
#define _DIR_H_
+#ifndef DIRENT_DEFINED
+
struct dirent {
unsigned char d_name[256];
int attribute;
int size;
};
+#endif
+
#ifndef SIMULATOR
typedef struct {