about summary refs log tree commit diff
path: root/sysdeps/stub/k_rem_pio2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/k_rem_pio2l.c')
-rw-r--r--sysdeps/stub/k_rem_pio2l.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/stub/k_rem_pio2l.c b/sysdeps/stub/k_rem_pio2l.c
index a51c44546b..01bf158249 100644
--- a/sysdeps/stub/k_rem_pio2l.c
+++ b/sysdeps/stub/k_rem_pio2l.c
@@ -1,12 +1,14 @@
 #include <math.h>
 #include <math_private.h>
 #include <stdio.h>
+#include <errno.h>
 
 int
 __kernel_rem_pio2l (long double *x, long double *y, int e0, int nx, int prec,
 		    const int *ipio2)
 {
   fputs ("__kernel_rem_pio2l not implemented\n", stderr);
+  __set_errno (ENOSYS);
   return 0.0;
 }