From: Mikhail Kashkarov Date: Fri, 29 Nov 2019 16:27:10 +0000 (+0300) Subject: [Tizen 6.0] Update for build X-Git-Tag: submit/tizen_base/20200109.182500^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.0_base_tool;p=platform%2Fupstream%2Fmake.git [Tizen 6.0] Update for build Extract minimum changes from: 63b42fa Convert GNU make to use the gnulib portability library to enable build. Change-Id: I6060ab0c7a34714fa10c2ad59499e96db70b67e8 Signed-off-by: Mikhail Kashkarov --- diff --git a/glob/glob.c b/glob/glob.c index 1a19205..11e0c8d 100644 --- a/glob/glob.c +++ b/glob/glob.c @@ -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 +#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