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 09:54:48 +01:00
parent ce7d463710
commit 6283a515b9
2 changed files with 6 additions and 1 deletions

View File

@@ -22,9 +22,13 @@
//
#include <simgear_config.h>
#include <algorithm>
#include "DNSClient.hxx"
#include <udns.h>
#include <time.h>
#include <ctime>
#include <simgear/debug/logstream.hxx>
namespace simgear {

View File

@@ -9,6 +9,7 @@
#include <simgear/compiler.h>
#include <algorithm>
#include <memory> // std::unique_ptr
#include <iostream>
#include <map>