summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>2019-11-29 16:27:10 (GMT)
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>2019-12-02 12:41:54 (GMT)
commit42e01171a3a4ba0e68aaa15c0b0a7e35db75980c (patch)
tree8e9db14fbd4585e764c7902102b6e35c258302bd
parent586a1b47cbc42bea6c6742ff3230600b80c7fd7b (diff)
downloadmake-sandbox/mkashkarov/tizen_6.0_build.zip
make-sandbox/mkashkarov/tizen_6.0_build.tar.gz
make-sandbox/mkashkarov/tizen_6.0_build.tar.bz2
[Tizen 6.0] Update for buildsandbox/mkashkarov/tizen_6.0_build
Extract minimum changes from: 63b42fa Convert GNU make to use the gnulib portability library to enable build. Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
-rw-r--r--glob/glob.c10
1 files changed, 8 insertions, 2 deletions
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 <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