1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
From 228e2abe478a9fe0ba0e7aa9205b20509dcfe952 Mon Sep 17 00:00:00 2001
From: Yann Dirson <ydirson@free.fr>
Date: Sat, 18 Oct 2014 23:39:44 +0200
Subject: [PATCH] Build fixes
---
src/Profile/Comp_xl.cpp | 1 +
src/Profile/PthreadLayer.cpp | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/Profile/Comp_xl.cpp b/src/Profile/Comp_xl.cpp
index 6a70335..a555989 100644
--- a/src/Profile/Comp_xl.cpp
+++ b/src/Profile/Comp_xl.cpp
@@ -32,6 +32,7 @@
#include <TAU.h>
#include <stdio.h>
+#include <cstdlib>
#ifdef TAU_OPENMP
#include <omp.h>
diff --git a/src/Profile/PthreadLayer.cpp b/src/Profile/PthreadLayer.cpp
index f1d8e20..a667f82 100644
--- a/src/Profile/PthreadLayer.cpp
+++ b/src/Profile/PthreadLayer.cpp
@@ -49,6 +49,8 @@ extern "C" {
#include <pthread.h>
#endif
+#include <cstdlib>
+
/////////////////////////////////////////////////////////////////////////
// Member Function Definitions For class PthreadLayer
// This allows us to get thread ids from 0..N-1 instead of long nos
--
2.1.1
|