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