about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 3e48922906..39d294ab4d 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 b46cab5926..4282a37e5c 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