From d9d8d928938213e4402d110a140146e7f45fe45f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 7 Apr 2007 12:43:29 +0000 Subject: [PATCH] Add missing #include "osfs.h". --- v7/src/microcode/boot.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/v7/src/microcode/boot.c b/v7/src/microcode/boot.c index 67366b8b8..f9c4af328 100644 --- a/v7/src/microcode/boot.c +++ b/v7/src/microcode/boot.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: boot.c,v 9.124 2007/01/22 18:30:16 riastradh Exp $ +$Id: boot.c,v 9.125 2007/04/07 12:43:29 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -36,6 +36,11 @@ USA. #include "ostop.h" #include "ostty.h" +#ifdef NATIVE_CODE_IS_C +# include "ostty.h" +# define FILE_READABLE(filename) (OS_file_access ((filename), 4)) +#endif + #if defined(__linux__) || defined(__APPLE__) || defined(__netbsd__) #include #else @@ -94,8 +99,6 @@ DECLARE_CRITICAL_SECTION (); #define main_name main #endif -#define FILE_READABLE(filename) (OS_file_access ((filename), 4)) - int DEFUN (main_name, (argc, argv), int argc AND CONST char ** argv) @@ -193,7 +196,7 @@ DEFUN (main_name, (argc, argv), compiler_initialize (1); Start_Scheme (BOOT_EXECUTE, option_fasl_file); } -#endif /* NATIVE_CODE_IS_C */ +#endif else { compiler_initialize (1); -- 2.25.1