From fdcfd5a055e284a035e51b1f4a8e9f5584caea6d Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 25 May 2018 16:12:55 -0400 Subject: Backport: Add to files that include Platform.h as likely needed in future. Backport of changeset 6959:b534742f5fa5. --- cocoa/ScintillaCocoa.mm | 2 ++ cocoa/ScintillaView.mm | 2 ++ qt/ScintillaEditBase/PlatQt.h | 2 ++ qt/ScintillaEditBase/ScintillaEditBase.h | 2 ++ src/CallTip.cxx | 1 + src/Style.cxx | 1 + test/unit/UnitTester.cxx | 2 ++ test/unit/testCharClassify.cxx | 1 + test/unit/testUniConversion.cxx | 1 + test/unit/unitTest.cxx | 2 ++ 10 files changed, 16 insertions(+) diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 2bd252e70..b21dbb102 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -14,6 +14,8 @@ * This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt). */ +#include + #import #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5 #import diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 945fadcbf..f09af9fa4 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -9,6 +9,8 @@ * This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt). */ +#include + #import "Platform.h" #import "ScintillaView.h" #import "ScintillaCocoa.h" diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 4d762bccf..ed51cf598 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -13,6 +13,8 @@ #include +#include + #include "Platform.h" #include diff --git a/qt/ScintillaEditBase/ScintillaEditBase.h b/qt/ScintillaEditBase/ScintillaEditBase.h index 5ab9dc115..b5e8241ab 100644 --- a/qt/ScintillaEditBase/ScintillaEditBase.h +++ b/qt/ScintillaEditBase/ScintillaEditBase.h @@ -14,6 +14,8 @@ #include +#include + #include "Platform.h" #include "Scintilla.h" diff --git a/src/CallTip.cxx b/src/CallTip.cxx index db287ea4a..2dcf91ea6 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -13,6 +13,7 @@ #include #include +#include #include #include diff --git a/src/Style.cxx b/src/Style.cxx index 40586b916..11509c1ba 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -6,6 +6,7 @@ // The License.txt file describes the conditions under which this software may be distributed. #include +#include #include "Platform.h" diff --git a/test/unit/UnitTester.cxx b/test/unit/UnitTester.cxx index 048abf24e..0383deeeb 100644 --- a/test/unit/UnitTester.cxx +++ b/test/unit/UnitTester.cxx @@ -8,6 +8,8 @@ #include #include +#include + #include "Platform.h" #define CATCH_CONFIG_WINDOWS_CRTDBG diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx index 4a695588b..879a36483 100644 --- a/test/unit/testCharClassify.cxx +++ b/test/unit/testCharClassify.cxx @@ -2,6 +2,7 @@ #include +#include #include #include #include diff --git a/test/unit/testUniConversion.cxx b/test/unit/testUniConversion.cxx index 63b56c426..243786531 100644 --- a/test/unit/testUniConversion.cxx +++ b/test/unit/testUniConversion.cxx @@ -3,6 +3,7 @@ #include #include +#include #include #include "Platform.h" diff --git a/test/unit/unitTest.cxx b/test/unit/unitTest.cxx index aa9eb6a99..4a1537369 100644 --- a/test/unit/unitTest.cxx +++ b/test/unit/unitTest.cxx @@ -35,6 +35,8 @@ #include #include +#include + #include "Platform.h" #if defined(__GNUC__) -- cgit v1.2.3