diff --git a/Framework/Algorithms/src/ResampleX.cpp b/Framework/Algorithms/src/ResampleX.cpp
index d3e8d0b520e78e53da55a7bb67ab930f1831ea57..1b0aff6ccb6186918c560b27d89fd6d406547ce6 100644
--- a/Framework/Algorithms/src/ResampleX.cpp
+++ b/Framework/Algorithms/src/ResampleX.cpp
@@ -4,6 +4,7 @@
 #include "MantidKernel/BoundedValidator.h"
 #include "MantidKernel/VectorHelper.h"
 
+#include <boost/math/special_functions/fpclassify.hpp>
 #include <sstream>
 
 namespace Mantid {