From c0677ad8c5b90bbd0c349edb6b01e26833f251be Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Fri, 14 Jun 2019 21:43:47 -0500 Subject: [PATCH] [Emesary] Fix compile on Linux. --- simgear/emesary/Transmitter.hxx | 1 + simgear/emesary/test_emesary.cxx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/simgear/emesary/Transmitter.hxx b/simgear/emesary/Transmitter.hxx index cb67bc64..339a5488 100644 --- a/simgear/emesary/Transmitter.hxx +++ b/simgear/emesary/Transmitter.hxx @@ -21,6 +21,7 @@ * *---------------------------------------------------------------------------*/ +#include #include #include #include diff --git a/simgear/emesary/test_emesary.cxx b/simgear/emesary/test_emesary.cxx index cca55288..852fa55b 100644 --- a/simgear/emesary/test_emesary.cxx +++ b/simgear/emesary/test_emesary.cxx @@ -7,14 +7,14 @@ #include -#include +#include using std::cout; using std::cerr; using std::endl; -std::atomic nthread = 0; -std::atomic noperations = 0; +std::atomic nthread {0}; +std::atomic noperations {0}; const int MaxIterations = 9999; class TestThreadNotification : public simgear::Emesary::INotification