about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
index 7e5cb5d2f4..6343c54b2d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
@@ -19,12 +19,14 @@
 
 #include <fenv.h>
 #include <errno.h>
+#include <sysdep.h>
+#include <sys/syscall.h>
 #include <sys/prctl.h>
 
 const fenv_t *
 __fe_nomask_env (void)
 {
-  __prctl (PR_SET_FPEXC, PR_FP_EXC_PRECISE);
+  INLINE_SYSCALL (prctl, 2, PR_SET_FPEXC, PR_FP_EXC_PRECISE);
 
   return FE_ENABLED_ENV;
 }