From 219b5645c23455a5fe26ef5a761363dd6a5942b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 10 Dec 2015 01:15:16 +0100 Subject: [PATCH] Inset files: add includes to compile with cxx11 see the list thread "Re: use FindCXX11Compiler.cmake also for MSVC" --- src/insets/InsetCommandParams.cpp | 2 ++ src/mathed/InsetMathBox.cpp | 1 + src/mathed/InsetMathDelim.cpp | 2 ++ src/mathed/InsetMathPhantom.cpp | 1 + src/mathed/InsetMathXArrow.cpp | 2 ++ src/tex2lyx/table.cpp | 1 + 6 files changed, 9 insertions(+) diff --git a/src/insets/InsetCommandParams.cpp b/src/insets/InsetCommandParams.cpp index 3a8e6427c5..931e1bb093 100644 --- a/src/insets/InsetCommandParams.cpp +++ b/src/insets/InsetCommandParams.cpp @@ -12,6 +12,8 @@ #include #include +#include + #include "InsetCommandParams.h" diff --git a/src/mathed/InsetMathBox.cpp b/src/mathed/InsetMathBox.cpp index 509977b2fb..aee9381cd7 100644 --- a/src/mathed/InsetMathBox.cpp +++ b/src/mathed/InsetMathBox.cpp @@ -24,6 +24,7 @@ #include "frontends/Painter.h" +#include #include using namespace lyx::support; diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp index 3671606e9f..8e8b6e295b 100644 --- a/src/mathed/InsetMathDelim.cpp +++ b/src/mathed/InsetMathDelim.cpp @@ -25,6 +25,8 @@ #include "frontends/FontMetrics.h" +#include + using namespace std; namespace lyx { diff --git a/src/mathed/InsetMathPhantom.cpp b/src/mathed/InsetMathPhantom.cpp index 9d6295bb06..9b1c80ad32 100644 --- a/src/mathed/InsetMathPhantom.cpp +++ b/src/mathed/InsetMathPhantom.cpp @@ -16,6 +16,7 @@ #include "MathStream.h" #include "frontends/Painter.h" +#include #include namespace lyx { diff --git a/src/mathed/InsetMathXArrow.cpp b/src/mathed/InsetMathXArrow.cpp index 9e3c91d003..8c8a4970bc 100644 --- a/src/mathed/InsetMathXArrow.cpp +++ b/src/mathed/InsetMathXArrow.cpp @@ -20,6 +20,8 @@ #include "LaTeXFeatures.h" +#include + using namespace std; namespace lyx { diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp index ad0331b523..3cce03df43 100644 --- a/src/tex2lyx/table.cpp +++ b/src/tex2lyx/table.cpp @@ -22,6 +22,7 @@ #include "support/convert.h" #include "support/lstrings.h" +#include #include #include #include -- 2.39.2