This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Small libgfortran/intrinsics/system.c fix
- From: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Wed, 27 Oct 2004 15:33:23 -0500
- Subject: [PATCH] Small libgfortran/intrinsics/system.c fix
This patch fixes one place that was missed in
<http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01619.html> involving an
itoa() conflict with MinGW's headers.
OK?
Aaron W. LaFramboise
Index: gcc/libgfortran/intrinsics/system.c
===================================================================
RCS file: /cvs/gcc/gcc/libgfortran/intrinsics/system.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 system.c
*** gcc/libgfortran/intrinsics/system.c 4 Oct 2004 21:30:32 -0000 1.1
--- gcc/libgfortran/intrinsics/system.c 25 Oct 2004 06:53:20 -0000
*************** Software Foundation, 59 Temple Place - S
*** 29,35 ****
02111-1307, USA. */
#include "config.h"
- #include "libgfortran.h"
#ifdef HAVE_STRING_H
#include <string.h>
--- 29,34 ----
*************** Software Foundation, 59 Temple Place - S
*** 38,43 ****
--- 37,44 ----
#include <stdlib.h>
#endif
+ #include "libgfortran.h"
+
void
prefix(system_sub) (const char * fcmd, GFC_INTEGER_4 * status,
gfc_charlen_type cmd_len)