diff options
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r-- | gcc/fortran/gfortran.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h index 3ae3978a5e7..0e152526395 100644 --- a/gcc/fortran/gfortran.h +++ b/gcc/fortran/gfortran.h @@ -33,6 +33,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA seem to be sufficient on some systems. */ #include "system.h" #include "coretypes.h" +#include "input.h" /* The following ifdefs are recommended by the autoconf documentation for any code using alloca. */ @@ -459,7 +460,11 @@ typedef struct gfc_file typedef struct gfc_linebuf { +#ifdef USE_MAPPED_LOCATION + source_location location; +#else int linenum; +#endif struct gfc_file *file; struct gfc_linebuf *next; |