Include <algorithm> when needed.
#include <BVH_Builder.hxx>
+#include <algorithm>
+
//! Stores parameters of single node bin (slice of AABB).
template<class T, int N>
struct BVH_Bin
#include <gp.hxx>
#include <TCollection_AsciiString.hxx>
#include <fstream>
+#include <algorithm>
#ifdef HAVE_FREEIMAGE
namespace
#include <Image_PixMap.hxx>
#include <NCollection_AlignedAllocator.hxx>
+#include <algorithm>
+
IMPLEMENT_STANDARD_HANDLE (Image_PixMap, Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(Image_PixMap, Standard_Transient)