about summary refs log tree commit diff
path: root/sysdeps/aarch64/fpu/s_nearbyint.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/fpu/s_nearbyint.c')
-rw-r--r--sysdeps/aarch64/fpu/s_nearbyint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/aarch64/fpu/s_nearbyint.c b/sysdeps/aarch64/fpu/s_nearbyint.c
index 6ba5de11e7..1df56152e9 100644
--- a/sysdeps/aarch64/fpu/s_nearbyint.c
+++ b/sysdeps/aarch64/fpu/s_nearbyint.c
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-double.h>
 
 double
 __nearbyint (double x)
@@ -24,4 +25,4 @@ __nearbyint (double x)
   return __builtin_nearbyint (x);
 }
 
-weak_alias (__nearbyint, nearbyint)
+libm_alias_double (__nearbyint, nearbyint)