From 0510d4755f715d21695ea4a5b15069d69789d7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Mon, 30 Apr 2018 15:15:59 +0200 Subject: [PATCH] Fix missing include and wrong comment format While the comment format was valid C++, it breaks our tooling badly. I opened up a github issue for our tooling, because unexpected formatting of a block comment should not silently generate invalid single header file, see #1269. --- include/internal/catch_output_redirect.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/internal/catch_output_redirect.cpp b/include/internal/catch_output_redirect.cpp index c3ad826d..fabf9cf1 100644 --- a/include/internal/catch_output_redirect.cpp +++ b/include/internal/catch_output_redirect.cpp @@ -1,9 +1,9 @@ /* -* Created by Martin on 28/04/2018. -* -* Distributed under the Boost Software License, Version 1.0. (See accompanying -* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -*/ + * Created by Martin on 28/04/2018. + * + * Distributed under the Boost Software License, Version 1.0. (See accompanying + * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + */ #include "catch_output_redirect.h" @@ -13,6 +13,7 @@ #include #include #include +#include #if defined(CATCH_PLATFORM_WINDOWS) #include //_dup and _dup2