summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-31 21:37:25 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-31 21:37:25 +0000
commit060da4159830543bee79bbb58a626d0a41266662 (patch)
tree12ecd34a9dbe98ee3eb3ea4428afeb36ab4ff98b /libgfortran
parent64f4ed01a0ccf8a18c13d5a589cb2ab296adc51a (diff)
downloadgcc-060da4159830543bee79bbb58a626d0a41266662.tar.gz
* io/inquire.c: Include io.h before string.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog4
-rw-r--r--libgfortran/io/inquire.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 25581552e5e..2b76a665516 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-31 David Edelsohn <edelsohn@gnu.org>
+
+ * io/inquire.c: Include io.h before string.h.
+
2010-07-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/44931
diff --git a/libgfortran/io/inquire.c b/libgfortran/io/inquire.c
index 1189c544b35..540fecb2c5b 100644
--- a/libgfortran/io/inquire.c
+++ b/libgfortran/io/inquire.c
@@ -26,9 +26,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Implement the non-IOLENGTH variant of the INQUIRY statement */
-#include <string.h>
#include "io.h"
#include "unix.h"
+#include <string.h>
static const char undefined[] = "UNDEFINED";