This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]