summaryrefslogtreecommitdiff
path: root/core/include/fxcrt
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-18 14:48:48 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-18 14:48:48 -0500
commit61046b948a7a15a605147635d317ff3bb27fb452 (patch)
tree257bd5902ca9f242cfec7b19f014885a74edfa1d /core/include/fxcrt
parentdee2d7ba656cdf8111f879485146e0900630826a (diff)
downloadpdfium-61046b948a7a15a605147635d317ff3bb27fb452.tar.xz
Sort headers in non-xfa directories.
This CL runs the chromium sort-headers.py script over the non-xfa code. XFA will be done after the includes have been updated to full paths. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1711793002 .
Diffstat (limited to 'core/include/fxcrt')
-rw-r--r--core/include/fxcrt/fx_stream.h2
-rw-r--r--core/include/fxcrt/fx_system.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h
index 263a355fff..b35b63544f 100644
--- a/core/include/fxcrt/fx_stream.h
+++ b/core/include/fxcrt/fx_stream.h
@@ -23,8 +23,8 @@ FX_WCHAR FX_GetFolderSeparator();
#define FX_FILESIZE int32_t
#else
#include <fcntl.h>
-#include <unistd.h>
#include <sys/stat.h>
+#include <unistd.h>
#ifndef O_BINARY
#define O_BINARY 0
#endif
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h
index 5ab7f723ad..d52377060a 100644
--- a/core/include/fxcrt/fx_system.h
+++ b/core/include/fxcrt/fx_system.h
@@ -55,13 +55,13 @@
#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
#define _CRT_SECURE_NO_WARNINGS
-#include <sal.h>
#include <windows.h>
+#include <sal.h>
#endif
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
-#include <libkern/OSAtomic.h>
#include <Carbon/Carbon.h>
+#include <libkern/OSAtomic.h>
#endif
#ifdef __cplusplus