summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mcop_mt/threads_posix.cc3
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)