Fixed FTBFS with g++7 caused by #include directive placed inside namespace.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1a41c9e42a)
v3.5.13-sru
Michele Calgaro 7 years ago committed by Slávek Banko
parent 8fef617607
commit bb046ee2e1

@ -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)

Loading…
Cancel
Save