Index: native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetospeed.c |
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetospeed.c b/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetospeed.c |
index ed7a678a9f086be46cf3598c0bc62f897d904346..d2e267796f5f34da6be4830eed3f38d440cff337 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetospeed.c |
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetospeed.c |
@@ -8,7 +8,7 @@ |
* in this #if, so this file will be compiled on a non-bionic build. |
*/ |
-#if !defined(__BIONIC__) |
+#if !defined(__BIONIC__) && !(defined(__GLIBC__) && defined(__arm__)) |
#include "nacl_io/kernel_intercept.h" |
#include "nacl_io/kernel_wrap.h" |
@@ -18,4 +18,4 @@ int cfsetospeed(struct termios *termios_p, speed_t speed) { |
return 0; |
} |
-#endif /* #if !defined(__BIONIC_) */ |
+#endif /* #if !defined(__BIONIC_) */ |