summaryrefslogtreecommitdiff
path: root/libc/private/bionic_asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/private/bionic_asm.h')
-rw-r--r--libc/private/bionic_asm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/private/bionic_asm.h b/libc/private/bionic_asm.h
index 6d4f7d52c..d68a2d604 100644
--- a/libc/private/bionic_asm.h
+++ b/libc/private/bionic_asm.h
@@ -26,8 +26,10 @@
* SUCH DAMAGE.
*/
-#ifndef _PRIVATE_BIONIC_ASM_H_
-#define _PRIVATE_BIONIC_ASM_H_
+#pragma once
+
+/* https://github.com/android/ndk/issues/1422 */
+#include <features.h>
#include <asm/unistd.h> /* For system call numbers. */
#define MAX_ERRNO 4095 /* For recognizing system call error returns. */
@@ -86,5 +88,3 @@
#define NOTE_GNU_PROPERTY() \
__bionic_asm_custom_note_gnu_section()
-
-#endif