aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-norm.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-24 05:00:25 +0000
committerFred Fish <fnf@specifix.com>1992-06-24 05:00:25 +0000
commit56e5eadc5713d72fb414176766dbee1dbaddf1ad (patch)
treef345aef4936578d79d71e6de2131008795a8f497 /readline/sysdep-norm.h
parentec6b2951dab0ccf32cef4cc4b8f6eb0857eb7172 (diff)
downloadgdb-56e5eadc5713d72fb414176766dbee1dbaddf1ad.zip
gdb-56e5eadc5713d72fb414176766dbee1dbaddf1ad.tar.gz
gdb-56e5eadc5713d72fb414176766dbee1dbaddf1ad.tar.bz2
* sysdep-norm.h (alloca): Protect against previous definition as
a macro with arguments.
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r--readline/sysdep-norm.h2
1 files changed, 2 insertions, 0 deletions
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 */