1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

msp430: add time_t and struct timespec

This commit is contained in:
Christian Mehlis 2013-10-18 13:53:03 +02:00
parent 26b2461cf9
commit 7fb1ac4402

View File

@ -6,4 +6,11 @@
/** defining signed type for size_t */
typedef _ssize_t ssize_t;
typedef unsigned long time_t;
struct timespec {
time_t tv_sec; /* Seconds */
long tv_nsec; /* Nanoseconds */
};
#endif /* MSP430_TYPES_H */