From 2cbbb29eb534e634dd42049399e504b1e7aa8389 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Fri, 14 Jun 2019 22:11:31 -0500 Subject: [PATCH] [Emesary] Fix compile on Linux. --- simgear/emesary/Transmitter.hxx | 1 + simgear/emesary/test_emesary.cxx | 6 +++--- simgear/nasal/cppbind/NasalEmesaryInterface.hxx | 2 +- 3 files changed, 5 insertions(+), 4 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 diff --git a/simgear/nasal/cppbind/NasalEmesaryInterface.hxx b/simgear/nasal/cppbind/NasalEmesaryInterface.hxx index 3f8d6c1f..b6d01ca1 100644 --- a/simgear/nasal/cppbind/NasalEmesaryInterface.hxx +++ b/simgear/nasal/cppbind/NasalEmesaryInterface.hxx @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include