aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sreal.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4b134ad..e40fab7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-16 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
+
+ Both config.h and system.h define ABI/API macros for system headers.
+ * sreal.c: Include math.h later.
+
2014-12-16 Felix Yang <felix.yang@huawei.com>
PR rtl-optimization/64240
diff --git a/gcc/sreal.c b/gcc/sreal.c
index 11ea9ce..8525379 100644
--- a/gcc/sreal.c
+++ b/gcc/sreal.c
@@ -47,9 +47,9 @@ along with GCC; see the file COPYING3. If not see
sig == 0 && exp == -SREAL_MAX_EXP
*/
-#include <math.h>
#include "config.h"
#include "system.h"
+#include <math.h>
#include "coretypes.h"
#include "sreal.h"