diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-04 00:32:45 +0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 10:07:02 -0700 |
commit | 5c6e1633d218bd5b9c5077634829eb14d326308f (patch) | |
tree | 50a4fd55b51a0fab6506addf610a666afabaec9b /system/include/compat/sys/timeb.h | |
parent | 27d496610e0ef93c9805a6a1a77de3f053405c6b (diff) |
Update libc headers to use musl headers.
Diffstat (limited to 'system/include/compat/sys/timeb.h')
-rw-r--r-- | system/include/compat/sys/timeb.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/system/include/compat/sys/timeb.h b/system/include/compat/sys/timeb.h index 0a2c3de8..2e678893 100644 --- a/system/include/compat/sys/timeb.h +++ b/system/include/compat/sys/timeb.h @@ -14,13 +14,9 @@ extern "C" { #define _SYS_TIMEB_H -#include <_ansi.h> -#include <machine/types.h> +#define __NEED_time_t -#ifndef __time_t_defined -typedef _TIME_T_ time_t; -#define __time_t_defined -#endif +#include <bits/alltypes.h> struct timeb { @@ -30,7 +26,7 @@ struct timeb short dstflag; }; -extern int ftime _PARAMS ((struct timeb *)); +extern int ftime(struct timeb *); #ifdef __cplusplus } |