From a0ba8cb101681c4bcfb0ca25dde1d433843d2086 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 27 Nov 2005 22:09:40 +0000 Subject: [PATCH] random.c: Include config.h * intrinsics/random.c: Include config.h * io/size_from_kind.c: Include config.h and libgfortran.h * io/io.h: Revert 2005-11-21 change. From-SVN: r107577 --- libgfortran/ChangeLog | 6 ++++++ libgfortran/intrinsics/random.c | 1 + libgfortran/io/io.h | 5 ----- libgfortran/io/size_from_kind.c | 2 ++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 59d6a3e9bfe..c371f8dfe0f 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2005-11-27 David Edelsohn + + * intrinsics/random.c: Include config.h + * io/size_from_kind.c: Include config.h and libgfortran.h + * io/io.h: Revert 2005-11-21 change. + 2005-11-27 Francois-Xavier Coudert * io/write.c (namelist_write): Correct type in previous diff --git a/libgfortran/intrinsics/random.c b/libgfortran/intrinsics/random.c index 463b7e0c17b..ef7ed760e63 100644 --- a/libgfortran/intrinsics/random.c +++ b/libgfortran/intrinsics/random.c @@ -29,6 +29,7 @@ License along with libgfortran; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include "config.h" #include "libgfortran.h" #include "../io/io.h" diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h index 48cc2a19ab2..004bcef8bf6 100644 --- a/libgfortran/io/io.h +++ b/libgfortran/io/io.h @@ -37,11 +37,6 @@ Boston, MA 02110-1301, USA. */ #define SUPPORTS_WEAK 1 #endif -#ifdef _AIX -#undef _LARGE_FILES -#define _LARGE_FILE_API -#endif - #include #define DEFAULT_TEMPDIR "/tmp" diff --git a/libgfortran/io/size_from_kind.c b/libgfortran/io/size_from_kind.c index c4a55dceb54..033b554c614 100644 --- a/libgfortran/io/size_from_kind.c +++ b/libgfortran/io/size_from_kind.c @@ -31,6 +31,8 @@ Boston, MA 02110-1301, USA. */ /* This file contains utility functions for determining the size of a variable given its kind. */ +#include "config.h" +#include "libgfortran.h" #include "io.h" size_t