summaryrefslogtreecommitdiff
path: root/firmware/common/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.h')
-rw-r--r--firmware/common/dir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h
index f805013d2b..3cf36eb34f 100644
--- a/firmware/common/dir.h
+++ b/firmware/common/dir.h
@@ -20,6 +20,7 @@
20#define _DIR_H_ 20#define _DIR_H_
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23#include "file.h"
23 24
24#ifndef DIRENT_DEFINED 25#ifndef DIRENT_DEFINED
25 26
@@ -31,7 +32,7 @@
31#define ATTR_ARCHIVE 0x20 32#define ATTR_ARCHIVE 0x20
32 33
33struct dirent { 34struct dirent {
34 unsigned char d_name[256]; 35 unsigned char d_name[MAX_PATH];
35 int attribute; 36 int attribute;
36 int size; 37 int size;
37 int startcluster; 38 int startcluster;