summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-15 23:42:19 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-15 23:42:19 +0000
commitee46a3d88e8378e58f01ff0d521477ba0b7201fb (patch)
treead63d929d4ebb1f762faf838ee9da965cfc0ab0b /firmware/include
parent9f37f04619feb93a6a5adb36e7db6d7ace3c227c (diff)
downloadrockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.zip
rockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.tar.gz
rockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.tar.bz2
rockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.tar.xz
Moved database builder into a separate directory, and gave it its' own Makefile. Now it compiles cleanly and builds a database if ran in root of music tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/time.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h
index 9200e82..9010d99 100644
--- a/firmware/include/time.h
+++ b/firmware/include/time.h
@@ -37,6 +37,13 @@ struct tm *localtime(const time_t *timep);
#endif /* SIMULATOR */
+#ifdef __PCTOOL__
+/* this time.h does not define struct timespec,
+ so tell sys/stat.h not to use it */
+#undef __USE_MISC
+#endif
+
+
#endif /* _TIME_H_ */