components/bash/patches/solaris-003.glob.c.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Tue, 11 Feb 2014 06:22:29 -0800
branchs11u1-sru
changeset 2944 ddcd7e77db21
parent 115 c360825c3a3f
child 5518 c47fe0edc204
permissions -rw-r--r--
18117850 problem in UTILITY/SVN 18117295 problem in UTILITY/SVN

--- lib/glob/glob.c	2009-11-14 15:39:30.000000000 -0800
+++ lib/glob/glob.c	2010-09-01 10:28:10.161379481 -0700
@@ -34,6 +34,10 @@
 #  include <unistd.h>
 #endif
 
+#if defined (HAVE_ALLOCA) && defined (HAVE_ALLOCA_H)
+#  include <alloca.h>
+#endif
+
 #include "bashansi.h"
 #include "posixdir.h"
 #include "posixstat.h"