solaris-003.glob.c.patch revision 5516
5516N/A# Solaris-specific patch. alloca(3c) is not visible without
5516N/A# including <alloca.h>.
5516N/A# Not for upstream.
110N/A--- lib/glob/glob.c 2009-11-14 15:39:30.000000000 -0800
110N/A+++ lib/glob/glob.c 2010-09-01 10:28:10.161379481 -0700
110N/A@@ -34,6 +34,10 @@
110N/A # include <unistd.h>
110N/A #endif
110N/A
110N/A+#if defined (HAVE_ALLOCA) && defined (HAVE_ALLOCA_H)
110N/A+# include <alloca.h>
110N/A+#endif
110N/A+
110N/A #include "bashansi.h"
110N/A #include "posixdir.h"
110N/A #include "posixstat.h"