aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2010-07-31 21:37:25 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2010-07-31 17:37:25 -0400
commitf32013906e7e06f4c73f572c47ae9ed89a1bdc10 (patch)
tree12ecd34a9dbe98ee3eb3ea4428afeb36ab4ff98b /libgfortran
parentda46381f2ce3992e80717bac2692194e6a5e7780 (diff)
downloadgcc-f32013906e7e06f4c73f572c47ae9ed89a1bdc10.zip
gcc-f32013906e7e06f4c73f572c47ae9ed89a1bdc10.tar.gz
gcc-f32013906e7e06f4c73f572c47ae9ed89a1bdc10.tar.bz2
* io/inquire.c: Include io.h before string.h.
From-SVN: r162788
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 2558155..2b76a66 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 1189c54..540fecb 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";