summaryrefslogtreecommitdiff
path: root/firmware/include/time.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-08-29 21:08:38 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-08-29 21:08:38 +0000
commit5d22e3cbdd251819a4d2d07b9a12994d5aef778d (patch)
tree4c6a81187ccf065a5f296a903b9f7da88503e403 /firmware/include/time.h
parentcc31b1fbdae455f975b69dd6bffc23d8bd021566 (diff)
downloadrockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.tar.gz
rockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.zip
Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. Closes FS#9327
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/time.h')
-rw-r--r--firmware/include/time.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h
index 23f72fd93d..9200e82232 100644
--- a/firmware/include/time.h
+++ b/firmware/include/time.h
@@ -7,6 +7,11 @@
7#ifndef _TIME_H_ 7#ifndef _TIME_H_
8#define _TIME_H_ 8#define _TIME_H_
9 9
10#ifdef WPSEDITOR
11#include <sys/types.h>
12#include <time.h>
13#endif
14
10struct tm 15struct tm
11{ 16{
12 int tm_sec; 17 int tm_sec;
@@ -34,3 +39,4 @@ struct tm *localtime(const time_t *timep);
34 39
35#endif /* _TIME_H_ */ 40#endif /* _TIME_H_ */
36 41
42