diff options
-rw-r--r-- | cocoa/PlatCocoa.h | 4 | ||||
-rw-r--r-- | cocoa/PlatCocoa.mm | 4 | ||||
-rw-r--r-- | scripts/HeaderOrder.txt | 6 |
3 files changed, 9 insertions, 5 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" diff --git a/scripts/HeaderOrder.txt b/scripts/HeaderOrder.txt index 94dd1d6a6..46fbe6b8f 100644 --- a/scripts/HeaderOrder.txt +++ b/scripts/HeaderOrder.txt @@ -14,7 +14,6 @@ #include <assert.h> #include <ctype.h> #include <limits.h> -#include <sys/time.h> // C++ wrappers of C standard library #include <cstddef> @@ -32,6 +31,8 @@ // C++ standard library #include <stdexcept> #include <new> +#include <utility> +#include <tuple> #include <string> #include <string_view> #include <vector> @@ -47,6 +48,9 @@ #include <iostream> #include <sstream> +// POSIX +#include <sys/time.h> + // GTK+ headers #include <glib.h> #include <gmodule.h> |