[Tizen 6.0] Update for build
[platform/upstream/make.git] / glob / glob.c
index 1a19205..11e0c8d 100644 (file)
@@ -227,8 +227,6 @@ extern char *alloca ();
 #  endif /* sparc or HAVE_ALLOCA_H.  */
 # endif        /* GCC.  */
 
-# define __alloca      alloca
-
 #endif
 
 #ifndef __GNU_LIBRARY__
@@ -283,6 +281,14 @@ extern char *alloca ();
 #endif
 #include <glob.h>
 
+#if !defined __alloca
+# define __alloca alloca
+#endif
+
+#if !defined __stat
+# define __stat stat
+#endif
+
 #ifdef HAVE_GETLOGIN_R
 extern int getlogin_r __P ((char *, size_t));
 #else