--- ./hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	2017-05-12 23:47:58.000000000 +0530
+++ ../os_linux_aarch64.cpp	2017-05-14 21:36:49.672414253 +0530
@@ -77,7 +77,9 @@
 # include <pwd.h>
 # include <poll.h>
 # include <ucontext.h>
+# ifndef __ANDROID__
 # include <fpu_control.h>
+# endif
 
 #ifdef BUILTIN_SIM
 #define REG_SP REG_RSP
