aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>2014-12-16 17:14:49 +0000
committerMichael Haubenwallner <haubi@gcc.gnu.org>2014-12-16 17:14:49 +0000
commitbc1c9c220346f37fa1ed4a4a34a7f88803a72db2 (patch)
tree904f1d99e59c751e8d75581801f96ecce138c680 /gcc
parent9733278a16ce7c63321c513bd337fb4c3dd911d6 (diff)
downloadgcc-bc1c9c220346f37fa1ed4a4a34a7f88803a72db2.zip
gcc-bc1c9c220346f37fa1ed4a4a34a7f88803a72db2.tar.gz
gcc-bc1c9c220346f37fa1ed4a4a34a7f88803a72db2.tar.bz2
Both config.h and system.h define ABI/API macros for system headers.
* sreal.c: Include math.h later. From-SVN: r218783
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"