Browse Source

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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 1 year ago
parent
commit
1a41c9e42a
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      mcop_mt/threads_posix.cc

+ 1
- 2
mcop_mt/threads_posix.cc View File

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