Compilation error: missing includes
OpenMW version: 0.46.0 OS: openSUSE Tumbleweed
Compilation fail due to missing #include
Index: openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp
===================================================================
--- openmw-openmw-0.46.0.orig/components/detournavigator/offmeshconnectionsmanager.hpp
+++ openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp
@@ -13,6 +13,7 @@
#include <boost/optional.hpp>
+#include <algorithm>
#include <map>
#include <mutex>
#include <unordered_map>
Index: openmw-openmw-0.46.0/components/vfs/filesystemarchive.cpp
===================================================================
--- openmw-openmw-0.46.0.orig/components/vfs/filesystemarchive.cpp
+++ openmw-openmw-0.46.0/components/vfs/filesystemarchive.cpp
@@ -1,5 +1,7 @@
#include "filesystemarchive.hpp"
+#include <algorithm>
+
#include <boost/filesystem.hpp>
#include <components/debug/debuglog.hpp>