summaryrefslogtreecommitdiff
path: root/gnuglob.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnuglob.c')
-rw-r--r--gnuglob.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnuglob.c b/gnuglob.c
index e5eecc1a79..da758bc170 100644
--- a/gnuglob.c
+++ b/gnuglob.c
@@ -86,6 +86,12 @@ extern void bcopy ();
# endif /* !RISC6000 */
#endif /* USG */
+#if defined(sparc) && !defined(__GNUC__)
+#include <alloca.h>
+#else
+char *alloca ();
+#endif
+
#include "fnmatch.h"
/* If the opendir () on your system lets you open non-directory files,