[runtime] Fixed complex.h usage in MS's thread pool to work in Android.
[mono.git] / mono / metadata / threadpool-microsoft.c
index 8042462b694e34d38a77906b0ad97edead9c0fac..9ca79d55826da77cf4e82ce671f8d2ffb4df5ce7 100644 (file)
 //
 // Ported from C++ to C and adjusted to Mono runtime
 
+#include <config.h>
 #include <stdlib.h>
-#include <complex.h>
 #include <math.h>
 
+#ifdef PLATFORM_ANDROID
+#include <../../support/libm/complex.h>
+#else
+#include <complex.h>
+#endif
+
 #include <glib.h>
 
 #include "class-internals.h"