diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-06-19 14:34:54 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-06-19 14:34:54 +0000 |
| commit | 258919cc554ed76a742fb0a03f368756a254a675 (patch) | |
| tree | 5c3b6d9aaa0b1753220d60abe12c49ddd98f6e18 | |
| parent | ec048f60240f5e5e7b5d5f08de4fda5c31e51595 (diff) | |
| download | rockbox-258919cc554ed76a742fb0a03f368756a254a675.zip rockbox-258919cc554ed76a742fb0a03f368756a254a675.tar.gz rockbox-258919cc554ed76a742fb0a03f368756a254a675.tar.bz2 rockbox-258919cc554ed76a742fb0a03f368756a254a675.tar.xz | |
We don't need time unless we're writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1085 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/fat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index cb1a3c1..8d5057b 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c @@ -22,8 +22,10 @@ #include <math.h> #include <stdlib.h> #include <ctype.h> +#ifdef DISK_WRITE #include <time.h> #include <sys/timeb.h> +#endif #include <stdbool.h> #include "fat.h" #include "ata.h" |