[MIPS] Fix the path for unistd.h

Change-Id: Ia6606fc586bd9c754288b78502b8477dc4f020b5
diff --git a/perf.h b/perf.h
index 4f770be..712bbc7 100644
--- a/perf.h
+++ b/perf.h
@@ -86,7 +86,13 @@
 #endif
 
 #ifdef __mips__
+/* ANDROID_CHANGE_BEGIN */
+#if 0
 #include "../../arch/mips/include/asm/unistd.h"
+#elif !defined(__APPLE__)
+#include <asm/unistd.h>
+#endif
+/* ANDROID_CHANGE_END */
 #define rmb()		asm volatile(					\
 				".set	mips2\n\t"			\
 				"sync\n\t"				\