diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-04-23 00:59:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-04-23 00:59:57 +0900 |
commit | 1a41c9e42acb4771a5070bcaccb0db795fabc885 (patch) | |
tree | a7eddd7ecef2f703baaf48c7030fc582a79f6cb2 | |
parent | 4bcfb33a3a4dccd3ee53c1d799570e0daa945342 (diff) | |
download | arts-1a41c9e42acb4771a5070bcaccb0db795fabc885.tar.gz arts-1a41c9e42acb4771a5070bcaccb0db795fabc885.zip |
Fixed FTBFS with g++7 caused by #include directive placed inside namespace.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | mcop_mt/threads_posix.cc | 3 |
1 files changed, 1 insertions, 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 <gsl/gslconfig.h> +#include <gsl/gslcommon.h> #include <sys/types.h> #include <stddef.h> @@ -36,7 +37,6 @@ #include <semaphore.h> #include <debug.h> #include <string.h> - #include "thread.h" /* @@ -332,7 +332,6 @@ public: } } initOnStartup; -#include <gsl/gslcommon.h> /* -fast- locking for gsl on platforms with unix98 support */ #if (GSL_HAVE_MUTEXATTR_SETTYPE > 0) static void pth_mutex_init (GslMutex *mutex) |