File gslcommon_beginning.patch of Package arts
diff -Naru arts-1.5.10_orig/mcop_mt/threads_posix.cc arts-1.5.10/mcop_mt/threads_posix.cc --- arts-1.5.10_orig/mcop_mt/threads_posix.cc 2005-09-10 17:13:32.000000000 +0900 +++ arts-1.5.10/mcop_mt/threads_posix.cc 2019-01-15 18:17:33.389071665 +0900 @@ -28,6 +28,7 @@ #ifdef HAVE_LIBPTHREAD #include <gsl/gslconfig.h> +#include <gsl/gslcommon.h> #include <sys/types.h> #include <stddef.h> @@ -332,7 +333,6 @@ } } 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)