aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-06-23 14:07:59 -0700
committerRoland McGrath <roland@hack.frob.com>2014-06-23 14:07:59 -0700
commitaba8ef95b56313269512f5ec449e0d9c74d2a1e2 (patch)
tree50be0a5574112483090958c91830433a07b1582d
parent3fc7236a2853953cce81ccc15a99c9bc1b7a648d (diff)
downloadglibc-aba8ef95b56313269512f5ec449e0d9c74d2a1e2.zip
glibc-aba8ef95b56313269512f5ec449e0d9c74d2a1e2.tar.gz
glibc-aba8ef95b56313269512f5ec449e0d9c74d2a1e2.tar.bz2
Add missing #include in get-rounding-mode.h
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/generic/get-rounding-mode.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e48922..39d294a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-06-23 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
+ using abort.
+
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
Remove unused variable ST.
diff --git a/sysdeps/generic/get-rounding-mode.h b/sysdeps/generic/get-rounding-mode.h
index b46cab5..4282a37 100644
--- a/sysdeps/generic/get-rounding-mode.h
+++ b/sysdeps/generic/get-rounding-mode.h
@@ -20,6 +20,7 @@
#define _GET_ROUNDING_MODE_H 1
#include <fpu_control.h>
+#include <stdlib.h>
/* Define values for FE_* modes not defined for this architecture. */
#ifdef FE_DOWNWARD