diff --git a/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h b/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h
index 1f16799..0c7f117 100644
--- a/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h
+++ b/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h
@@ -50,6 +50,7 @@
  * (eay@cryptsoft.com).  This product includes software written by Tim
  * Hudson (tjh@cryptsoft.com). */
 
+#if __arm__ || __arm64__ || __aarch64__
 #ifndef OPENSSL_HEADER_ARM_ARCH_H
 #define OPENSSL_HEADER_ARM_ARCH_H
 
@@ -171,3 +172,4 @@
 #endif  /* defined __ASSEMBLER__ */
 
 #endif  // OPENSSL_HEADER_ARM_ARCH_H
+#endif  // __arm__ || __arm64__ || __aarch64__
