diff options
Diffstat (limited to 'readline')
-rw-r--r-- | readline/ChangeLog | 5 | ||||
-rw-r--r-- | readline/sysdep-norm.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog index f41e371..53cec69 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 23 21:59:20 1992 Fred Fish (fnf@cygnus.com) + + * sysdep-norm.h (alloca): Protect against previous definition as + a macro with arguments. + Fri Jun 19 15:48:54 1992 Stu Grossman (grossman at cygnus.com) * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher. diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index 158b504..9df4040 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -6,8 +6,10 @@ #if defined (sparc) && defined (sun) #include <alloca.h> #endif +#ifndef alloca /* May be a macro, with args. */ extern char *alloca (); #endif +#endif #include <sys/types.h> /* Needed by dirent.h */ |