diff options
author | David Edelsohn <edelsohn@gnu.org> | 2007-09-06 12:40:50 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2007-09-06 08:40:50 -0400 |
commit | 200809cbbf0d8e99ce059e82494b8bd3a5c16ca9 (patch) | |
tree | ac5f71a479f82aa6113379945ad5bed43bcc8566 /libgfortran/libgfortran.h | |
parent | 71d3c6e7e447b94e1aa87818230a38b11e5708f7 (diff) | |
download | gcc-200809cbbf0d8e99ce059e82494b8bd3a5c16ca9.zip gcc-200809cbbf0d8e99ce059e82494b8bd3a5c16ca9.tar.gz gcc-200809cbbf0d8e99ce059e82494b8bd3a5c16ca9.tar.bz2 |
libgfortran.h: Include config.h first.
* libgfortran.h: Include config.h first.
* io/io.h (struct stream): Rename truncate to trunc.
* io/unix.c (fd_open): Same.
(open_internal): Same.
From-SVN: r128182
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index 7ce198a..6a702c4 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -31,6 +31,9 @@ Boston, MA 02110-1301, USA. */ #ifndef LIBGFOR_H #define LIBGFOR_H +/* config.h MUST be first because it can affect system headers. */ +#include "config.h" + #include <stdio.h> #include <math.h> #include <stddef.h> @@ -45,7 +48,6 @@ Boston, MA 02110-1301, USA. */ #include "../gcc/fortran/libgfortran.h" -#include "config.h" #include "c99_protos.h" #if HAVE_IEEEFP_H |