From 7117c2d221b2aed4ede8600f6a36b7c1454b4f55 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 17 Jul 2002 14:10:11 +0000 Subject: Imported from ../bash-2.05b.tar.gz. --- shell.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell.h') diff --git a/shell.h b/shell.h index b79d267b..0cc3a927 100644 --- a/shell.h +++ b/shell.h @@ -35,6 +35,7 @@ #include "unwind_prot.h" #include "dispose_cmd.h" #include "make_cmd.h" +#include "ocache.h" #include "subst.h" #include "sig.h" #include "pathnames.h" @@ -86,6 +87,7 @@ extern WORD_LIST *rest_of_args; /* Generalized global variables. */ extern int executing, login_shell; extern int interactive, interactive_shell; +extern int startup_state; /* Structure to pass around that holds a bitmap of file descriptors to close, and the size of that structure. Used in execute_cmd.c. */ @@ -112,7 +114,7 @@ extern struct user_info current_user; /* Force gcc to not clobber X on a longjmp(). Old versions of gcc mangle this badly. */ -#if __GNUC__ == 2 && __GNUC_MINOR__ > 8 +#if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ > 8) # define USE_VAR(x) ((void) &(x)) #else # define USE_VAR(x) -- cgit v1.2.1