From 56e5eadc5713d72fb414176766dbee1dbaddf1ad Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 24 Jun 1992 05:00:25 +0000 Subject: [PATCH] * sysdep-norm.h (alloca): Protect against previous definition as a macro with arguments. --- readline/ChangeLog | 5 +++++ readline/sysdep-norm.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/readline/ChangeLog b/readline/ChangeLog index f41e371739f..53cec69c9f8 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 to make this more Kosher. diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index 158b50406ee..9df4040760c 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -6,8 +6,10 @@ #if defined (sparc) && defined (sun) #include #endif +#ifndef alloca /* May be a macro, with args. */ extern char *alloca (); #endif +#endif #include /* Needed by dirent.h */ -- 2.30.2