This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Add missing #include in get-rounding-mode.h
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Mon, 23 Jun 2014 14:08:55 -0700 (PDT)
- Subject: [COMMITTED PATCH] Add missing #include in get-rounding-mode.h
- Authentication-results: sourceware.org; auth=none
Some recent change (to some other file, not sure off hand what)
caused a warning explosion. Please keep an eye out for that, folks.
Thanks,
Roland
* sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
using abort.
--- 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