From 31f36c267e4dd9ab4ac4e5def08df30d34a442f5 Mon Sep 17 00:00:00 2001
From: Carlos Alfredo Yeverino Rodriguez <carlos.alfredo.yeverino@gmail.com>
Date: Wed, 9 Jan 2019 15:06:48 +0100
Subject: [PATCH] Fix compilation errors related to atomic bool and opencv

---
 .../TORCSComponent/src/TORCSComponent/src/torcsclient.cpp       | 1 +
 .../TORCSComponent/src/TORCSComponent/src/torcsclient.h         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.cpp b/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.cpp
index 79cc259..67ec659 100644
--- a/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.cpp
+++ b/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.cpp
@@ -8,6 +8,7 @@
 #include <assert.h>
 #include <ros/console.h>
 #include <cv.hpp>
+#include <highgui.h>
 
 using namespace torcs;
 
diff --git a/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.h b/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.h
index 60f4121..da0b1d8 100644
--- a/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.h
+++ b/EMADL2TORCS/resources/TORCSComponent/src/TORCSComponent/src/torcsclient.h
@@ -5,6 +5,7 @@
 #include <memory>
 #include <functional>
 #include <std_msgs/Float32MultiArray.h>
+#include <atomic>
 
 #define DEBUG_LOG false
 
@@ -157,4 +158,3 @@ private:
 };
 
 }
-
-- 
GitLab