aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-02-27 13:27:23 +1100
committerNeil <nyamatongwe@gmail.com>2018-02-27 13:27:23 +1100
commit82aeb241248289a06a664d93cd2745f592ddfd98 (patch)
treefdd112b23ee8e9376845e8974b585bb44a607d24 /cocoa
parent09f56ee9d4d300b3e4394332dd66078c8cb5a763 (diff)
downloadscintilla-mirror-82aeb241248289a06a664d93cd2745f592ddfd98.tar.gz
Added <utility> and <tuple> to header order and moved POSIX header <sys/time.h>
after standard C++ language headers.
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/PlatCocoa.h4
-rw-r--r--cocoa/PlatCocoa.mm4
2 files changed, 4 insertions, 4 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index 386e339b5..8a47e7302 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -7,13 +7,13 @@
#ifndef PLATCOCOA_H
#define PLATCOCOA_H
-#include <sys/time.h>
-
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <cstdio>
+#include <sys/time.h>
+
#include <Cocoa/Cocoa.h>
#include "Platform.h"
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index a8ea02f57..5f9d788cd 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -12,8 +12,6 @@
* This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt).
*/
-#include <sys/time.h>
-
#include <cstddef>
#include <cstdlib>
#include <cassert>
@@ -25,6 +23,8 @@
#include <map>
#include <memory>
+#include <sys/time.h>
+
#import <Foundation/NSGeometry.h>
#import "Platform.h"