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