aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/Tensor
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/CXX11/Tensor')
-rw-r--r--unsupported/Eigen/CXX11/Tensor4
1 files changed, 4 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor
index 0dac95e45..2137f4276 100644
--- a/unsupported/Eigen/CXX11/Tensor
+++ b/unsupported/Eigen/CXX11/Tensor
@@ -30,6 +30,10 @@
#include <cstring>
#include <stdint.h>
+#ifdef EIGEN_USE_THREADS
+#include <future>
+#endif
+
#if defined(EIGEN_USE_GPU) && defined(__CUDACC__)
#include <curand_kernel.h>
#endif