aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
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 05d2598f4..7557fbd35 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 6547631ad..ea4149d97 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"