summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-30 13:18:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-30 13:18:59 +0000
commitef476e3a09eb3e1d441562c625e22c670dcae9be (patch)
tree5f9b913656c52e4a909cea60806ef05bf012ce5c /firmware
parent000cff80a1f27ca3a44213fea900bc6763b3e974 (diff)
don't defined the dirent struct if DIRENT_DEFINED is defined...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@329 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 @@
#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 {