From 8999284fae7bc1421d090d6860e0417a59b4451e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 23 Apr 2018 00:59:57 +0900 Subject: [PATCH] Fixed FTBFS with g++7 caused by #include directive placed inside namespace. Signed-off-by: Michele Calgaro (cherry picked from commit 1a41c9e42acb4771a5070bcaccb0db795fabc885) --- mcop_mt/threads_posix.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mcop_mt/threads_posix.cc b/mcop_mt/threads_posix.cc index 0ec24a5..6fa953c 100644 --- a/mcop_mt/threads_posix.cc +++ b/mcop_mt/threads_posix.cc @@ -28,6 +28,7 @@ #ifdef HAVE_LIBPTHREAD #include +#include #include #include @@ -36,7 +37,6 @@ #include #include #include - #include "thread.h" /* @@ -332,7 +332,6 @@ public: } } initOnStartup; -#include /* -fast- locking for gsl on platforms with unix98 support */ #if (GSL_HAVE_MUTEXATTR_SETTYPE > 0) static void pth_mutex_init (GslMutex *mutex)