From ad9f6e881f64173ea7cee2d20a04289f60f5eda3 Mon Sep 17 00:00:00 2001
From: Alexey Buzmakov <buzmakov@gmail.com>
Date: Fri, 4 Nov 2016 16:23:13 +0300
Subject: Fix build with MS VS 2015 CE

---
 src/FanFlatBeamLineKernelProjector2D.cpp    | 1 +
 src/FanFlatBeamStripKernelProjector2D.cpp   | 1 +
 src/ParallelBeamBlobKernelProjector2D.cpp   | 1 +
 src/ParallelBeamLineKernelProjector2D.cpp   | 1 +
 src/ParallelBeamLinearKernelProjector2D.cpp | 1 +
 src/ParallelBeamStripKernelProjector2D.cpp  | 1 +
 6 files changed, 6 insertions(+)

(limited to 'src')

diff --git a/src/FanFlatBeamLineKernelProjector2D.cpp b/src/FanFlatBeamLineKernelProjector2D.cpp
index fd4195b..343144d 100644
--- a/src/FanFlatBeamLineKernelProjector2D.cpp
+++ b/src/FanFlatBeamLineKernelProjector2D.cpp
@@ -30,6 +30,7 @@ $Id$
 
 #include <cmath>
 #include <cstring>
+#include <algorithm>
 
 #include "astra/DataProjectorPolicies.h"
 
diff --git a/src/FanFlatBeamStripKernelProjector2D.cpp b/src/FanFlatBeamStripKernelProjector2D.cpp
index b48beab..6e2c518 100644
--- a/src/FanFlatBeamStripKernelProjector2D.cpp
+++ b/src/FanFlatBeamStripKernelProjector2D.cpp
@@ -29,6 +29,7 @@ $Id$
 #include "astra/FanFlatBeamStripKernelProjector2D.h"
 
 #include <cmath>
+#include <algorithm>
 
 #include "astra/DataProjectorPolicies.h"
 
diff --git a/src/ParallelBeamBlobKernelProjector2D.cpp b/src/ParallelBeamBlobKernelProjector2D.cpp
index 679d5c6..9b7c05f 100644
--- a/src/ParallelBeamBlobKernelProjector2D.cpp
+++ b/src/ParallelBeamBlobKernelProjector2D.cpp
@@ -29,6 +29,7 @@ $Id$
 #include "astra/ParallelBeamBlobKernelProjector2D.h"
 
 #include <cmath>
+#include <algorithm>
 
 #include "astra/DataProjectorPolicies.h"
 
diff --git a/src/ParallelBeamLineKernelProjector2D.cpp b/src/ParallelBeamLineKernelProjector2D.cpp
index e4a1bff..ccfb9f8 100644
--- a/src/ParallelBeamLineKernelProjector2D.cpp
+++ b/src/ParallelBeamLineKernelProjector2D.cpp
@@ -29,6 +29,7 @@ $Id$
 #include "astra/ParallelBeamLineKernelProjector2D.h"
 
 #include <cmath>
+#include <algorithm>
 
 #include "astra/DataProjectorPolicies.h"
 
diff --git a/src/ParallelBeamLinearKernelProjector2D.cpp b/src/ParallelBeamLinearKernelProjector2D.cpp
index 27aa168..2171e73 100644
--- a/src/ParallelBeamLinearKernelProjector2D.cpp
+++ b/src/ParallelBeamLinearKernelProjector2D.cpp
@@ -29,6 +29,7 @@ $Id$
 #include "astra/ParallelBeamLinearKernelProjector2D.h"
 
 #include <cmath>
+#include <algorithm>
 
 #include "astra/DataProjectorPolicies.h"
 
diff --git a/src/ParallelBeamStripKernelProjector2D.cpp b/src/ParallelBeamStripKernelProjector2D.cpp
index 3f4e7f3..a2869e2 100644
--- a/src/ParallelBeamStripKernelProjector2D.cpp
+++ b/src/ParallelBeamStripKernelProjector2D.cpp
@@ -29,6 +29,7 @@ $Id$
 #include "astra/ParallelBeamStripKernelProjector2D.h"
 
 #include <cmath>
+#include <algorithm>
 
 #include "astra/DataProjectorPolicies.h"
 
-- 
cgit v1.2.3