summaryrefslogtreecommitdiffstats
path: root/Tests/FindMatlab/matlab_wrapper2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindMatlab/matlab_wrapper2.cpp')
-rw-r--r--Tests/FindMatlab/matlab_wrapper2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/FindMatlab/matlab_wrapper2.cpp b/Tests/FindMatlab/matlab_wrapper2.cpp
index 8b73ade..e768fbf 100644
--- a/Tests/FindMatlab/matlab_wrapper2.cpp
+++ b/Tests/FindMatlab/matlab_wrapper2.cpp
@@ -1,3 +1,9 @@
+
+// simple workaround to some compiler specific problems
+// see
+// http://stackoverflow.com/questions/22367516/mex-compile-error-unknown-type-name-char16-t/23281916#23281916
+#include <algorithm>
+
#include "mex.h"
// This test uses the new complex-interleaved C API (R2018a and newer)