aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2018-02-10 15:02:51 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2018-02-10 15:02:51 +0000
commit4f5b921eb9b775aa3549a9bcd684c3013132f04b (patch)
tree97d3e9706a45d3cdd99e195f7059e1d1f4ad5d13
parentd8742dd82f6a00601155c69bad3012e905591e1f (diff)
downloadglibc-4f5b921eb9b775aa3549a9bcd684c3013132f04b.tar
glibc-4f5b921eb9b775aa3549a9bcd684c3013132f04b.tar.gz
glibc-4f5b921eb9b775aa3549a9bcd684c3013132f04b.tar.bz2
glibc-4f5b921eb9b775aa3549a9bcd684c3013132f04b.zip
[AArch64] Fix testsuite error due to fpsr/fscr change
Add features.h include for __GNUC_PREREQ. * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/aarch64/fpu/fpu_control.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 78bb832c51..db08a257df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
+
2018-02-10 Joseph Myers <joseph@codesourcery.com>
* math/Makefile (libm-narrow-fns): Add add.
diff --git a/sysdeps/aarch64/fpu/fpu_control.h b/sysdeps/aarch64/fpu/fpu_control.h
index d0cc5afc9f..217dc3c5f6 100644
--- a/sysdeps/aarch64/fpu/fpu_control.h
+++ b/sysdeps/aarch64/fpu/fpu_control.h
@@ -19,6 +19,8 @@
#ifndef _AARCH64_FPU_CONTROL_H
#define _AARCH64_FPU_CONTROL_H
+#include "features.h"
+
/* Macros for accessing the FPCR and FPSR. */
#if __GNUC_PREREQ (6,0)