X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Flibm%2Fmath_private.h;h=ddb615e15cdefe0ec8aab74cbbc89b8b74411d28;hb=ef7a4c06206976de7ef2e974267407347ddb75a4;hp=b33cf60271a90b8a34c6e2893181d356379b0684;hpb=811674bc6331c98d33134e2a37a7c7dd66402227;p=mono.git diff --git a/support/libm/math_private.h b/support/libm/math_private.h index b33cf60271a..ddb615e15cd 100644 --- a/support/libm/math_private.h +++ b/support/libm/math_private.h @@ -18,7 +18,13 @@ #define _MATH_PRIVATE_H_ #include + +#if HAVE_MACHINE_ENDIAN_H #include +#elif HAVE_SYS_ENDIAN_H && HOST_ANDROID +/* Android unified headers don't have machine/endian.h */ +#include +#endif /* * The original fdlibm code used statements like: