commit | 1ea9f3f92f2586de844ccbf8f8f2ef3f00aa20fa | [log] [tgz] |
---|---|---|
author | Henrique Nakashima <hnakashima@chromium.org> | Mon Feb 05 16:12:00 2018 +0000 |
committer | Chromium commit bot <commit-bot@chromium.org> | Mon Feb 05 16:12:00 2018 +0000 |
tree | 29c2ebf6f8b641ad8530abd134316daebb770579 | |
parent | b5b7972cdc064498b45d230225aa92fee1acc7b6 [diff] |
Include time.h on wasm. Bug: chromium:804907 Change-Id: Id9b496f14134631d3308c073b8780bf18c2305c8 Reviewed-on: https://pdfium-review.googlesource.com/25270 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
diff --git a/core/fxcrt/cfx_datetime.cpp b/core/fxcrt/cfx_datetime.cpp index 04fa8a5..9dcf632 100644 --- a/core/fxcrt/cfx_datetime.cpp +++ b/core/fxcrt/cfx_datetime.cpp
@@ -8,7 +8,7 @@ #include "core/fxcrt/fx_system.h" #if _FX_OS_ == _FX_OS_LINUX_ || _FX_OS_ == _FX_OS_ANDROID_ || \ - _FX_OS_ == _FX_OS_MACOSX_ + _FX_OS_ == _FX_OS_MACOSX_ || _FX_OS_ == _FX_OS_WASM_ #include <sys/time.h> #include <time.h> #endif