summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-06-19 14:34:54 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-06-19 14:34:54 +0000
commit258919cc554ed76a742fb0a03f368756a254a675 (patch)
tree5c3b6d9aaa0b1753220d60abe12c49ddd98f6e18 /firmware/drivers
parentec048f60240f5e5e7b5d5f08de4fda5c31e51595 (diff)
downloadrockbox-258919cc554ed76a742fb0a03f368756a254a675.tar.gz
rockbox-258919cc554ed76a742fb0a03f368756a254a675.zip
We don't need time unless we're writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1085 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/fat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index cb1a3c1a8f..8d5057bd89 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -22,8 +22,10 @@
22#include <math.h> 22#include <math.h>
23#include <stdlib.h> 23#include <stdlib.h>
24#include <ctype.h> 24#include <ctype.h>
25#ifdef DISK_WRITE
25#include <time.h> 26#include <time.h>
26#include <sys/timeb.h> 27#include <sys/timeb.h>
28#endif
27#include <stdbool.h> 29#include <stdbool.h>
28#include "fat.h" 30#include "fat.h"
29#include "ata.h" 31#include "ata.h"