diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-04 08:37:52 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-04 08:37:52 -0800 |
commit | c4ff5f2c3b51f52c226809a14a56a888f673efd1 (patch) | |
tree | 73aeefcf053c58db7ccff76c3f2d6399bd302419 /system/include/libc/sys/time.h | |
parent | 8b0775dcd65bfc0fe7b81c6f86b51f161e49a548 (diff) | |
parent | 0086d64c19c523b949589a86398fda85481ddd4a (diff) |
Merge branch 'incoming'
Diffstat (limited to 'system/include/libc/sys/time.h')
-rw-r--r-- | system/include/libc/sys/time.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/include/libc/sys/time.h b/system/include/libc/sys/time.h index d48839f6..2bd2421e 100644 --- a/system/include/libc/sys/time.h +++ b/system/include/libc/sys/time.h @@ -7,6 +7,7 @@ #include <_ansi.h> #include <sys/types.h> +#include <time.h> /* XXX Emscripten */ #ifdef __cplusplus extern "C" { @@ -40,7 +41,7 @@ struct itimerval { }; /* BSD time macros used by RTEMS code */ -#if defined (__rtems__) || defined (__CYGWIN__) +#if defined (__rtems__) || defined (__CYGWIN__) || defined (EMSCRIPTEN) /* Convenience macros for operations on timevals. NOTE: `timercmp' does not work for >= or <=. */ |