Fix missing headers in simgear/io/DNSClient.cxx and simgear/props/props_test.cxx

<algorithm> is needed for std::sort() and std::find().
This commit is contained in:
Florent Rougon
2017-11-13 10:04:34 +01:00
parent ce7d463710
commit 6283a515b9
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -22,9 +22,13 @@
// //
#include <simgear_config.h> #include <simgear_config.h>
#include <algorithm>
#include "DNSClient.hxx" #include "DNSClient.hxx"
#include <udns.h> #include <udns.h>
#include <time.h> #include <ctime>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>
namespace simgear { namespace simgear {
+1
View File
@@ -9,6 +9,7 @@
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <algorithm>
#include <memory> // std::unique_ptr #include <memory> // std::unique_ptr
#include <iostream> #include <iostream>
#include <map> #include <map>