summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-02-05 16:12:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-05 16:12:00 +0000
commit1ea9f3f92f2586de844ccbf8f8f2ef3f00aa20fa (patch)
tree29c2ebf6f8b641ad8530abd134316daebb770579 /core/fxcrt
parentb5b7972cdc064498b45d230225aa92fee1acc7b6 (diff)
downloadpdfium-1ea9f3f92f2586de844ccbf8f8f2ef3f00aa20fa.tar.xz
Include time.h on wasm.chromium/3342chromium/3341
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>
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/cfx_datetime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_datetime.cpp b/core/fxcrt/cfx_datetime.cpp
index 04fa8a57ba..9dcf6325ca 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