aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/time.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-04 08:37:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-04 08:37:52 -0800
commitc4ff5f2c3b51f52c226809a14a56a888f673efd1 (patch)
tree73aeefcf053c58db7ccff76c3f2d6399bd302419 /system/include/libc/sys/time.h
parent8b0775dcd65bfc0fe7b81c6f86b51f161e49a548 (diff)
parent0086d64c19c523b949589a86398fda85481ddd4a (diff)
Merge branch 'incoming'
Diffstat (limited to 'system/include/libc/sys/time.h')
-rw-r--r--system/include/libc/sys/time.h3
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 <=. */