summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-09 12:01:59 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-09 12:01:59 -0800
commitea2a252c40f95616eb0f03318222f0c32ef90eff (patch)
treee242e9b76b0db95d133ba5b5624634ab6ac08160
parentca78d9a5289354f85607f92f68713b25df4fb6ad (diff)
downloadpdfium-ea2a252c40f95616eb0f03318222f0c32ef90eff.tar.xz
Fix build broken at ca78d9a52893
Move time.h inclusion to new file. TBR=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1778893003 .
-rw-r--r--core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp2
-rw-r--r--core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp b/core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp
index 84da42ec19..dab9b1f89e 100644
--- a/core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp
+++ b/core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp
@@ -6,6 +6,8 @@
#include "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h"
+#include <time.h>
+
#include "core/include/fdrm/fx_crypt.h"
#include "core/include/fpdfapi/cpdf_parser.h"
#include "core/include/fpdfapi/fpdf_parser.h"
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp
index acf7e11dca..5d710657be 100644
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp
@@ -6,8 +6,6 @@
#include "core/include/fpdfapi/fpdf_parser.h"
-#include <time.h>
-
#include "core/include/fpdfapi/cpdf_parser.h"
#include "core/include/fpdfapi/cpdf_simple_parser.h"
#include "core/include/fpdfapi/ipdf_security_handler.h"