summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_fileaccess_posix.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-19 17:39:15 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-19 17:39:15 +0000
commit5527682463d1c250e01e868655b58da7625db0c1 (patch)
tree25c7b2e95c074873552b6f97f8eb023a685648cb /core/fxcrt/cfx_fileaccess_posix.cpp
parent64316e9a68496b974d75e4434daab9d54db0e591 (diff)
downloadpdfium-5527682463d1c250e01e868655b58da7625db0c1.tar.xz
Make FX stream internal details more private to .cpp files.
Makes the generic fx_streams.h header pull in lots less OS-specific cluter. Combine and de-virtualize the windows struct. Change-Id: I836b9efb00b25dbd1b8f814645dd31a0f04bb4f4 Reviewed-on: https://pdfium-review.googlesource.com/38330 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_fileaccess_posix.cpp')
-rw-r--r--core/fxcrt/cfx_fileaccess_posix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxcrt/cfx_fileaccess_posix.cpp b/core/fxcrt/cfx_fileaccess_posix.cpp
index 4aab6fef46..fdcf4ae6bb 100644
--- a/core/fxcrt/cfx_fileaccess_posix.cpp
+++ b/core/fxcrt/cfx_fileaccess_posix.cpp
@@ -6,6 +6,10 @@
#include "core/fxcrt/cfx_fileaccess_posix.h"
+#include <fcntl.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
#include <memory>
#include "third_party/base/ptr_util.h"