aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgfortran/ChangeLog4
-rw-r--r--libgfortran/runtime/main.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index dfd8da7..4000a34 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-16 David Edelsohn <edelsohn@gnu.org>
+
+ * runtime/main.c: Include "config.h" first.
+
2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31099
diff --git a/libgfortran/runtime/main.c b/libgfortran/runtime/main.c
index 76e4aef..a731af2 100644
--- a/libgfortran/runtime/main.c
+++ b/libgfortran/runtime/main.c
@@ -27,6 +27,7 @@ along with libgfortran; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -34,7 +35,6 @@ Boston, MA 02110-1301, USA. */
#include <stddef.h>
#include <limits.h>
-#include "config.h"
#include "libgfortran.h"
#ifdef HAVE_UNISTD_H