diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-23 15:11:49 +0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 10:07:02 -0700 |
commit | a9d0a7f9817a0323c0436f364f1c28f53f9971bb (patch) | |
tree | 19f8675429c599e2b9d0903f6d51e2fece8381f9 /system | |
parent | 5c6e1633d218bd5b9c5077634829eb14d326308f (diff) |
Update to work with new libc headers.
Diffstat (limited to 'system')
-rw-r--r-- | system/include/compat/time.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/system/include/compat/time.h b/system/include/compat/time.h new file mode 100644 index 00000000..9adec84e --- /dev/null +++ b/system/include/compat/time.h @@ -0,0 +1,18 @@ +#ifndef _COMPAT_TIME_H +#define _COMPAT_TIME_H + +#ifdef __cplusplus +extern "C" { +#endif + +int dysize(int year); +#define _timezone timezone +#define _daylight daylight + +#ifdef __cplusplus +} +#endif + +#include_next <time.h> + +#endif |