summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch b/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
index 8874b95749..020ddfe3bf 100644
--- a/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
+++ b/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
@@ -1,22 +1,23 @@
1From 32644bde4d33b677614534ec37030e57883b8e15 Mon Sep 17 00:00:00 2001 1From b906ec2fe4711a727e198cd9259287c042eef8e2 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com> 2From: Dengke Du <dengke.du@windriver.com>
3Date: Thu, 9 Feb 2017 16:41:12 +0800 3Date: Thu, 9 Feb 2017 16:41:12 +0800
4Subject: [PATCH 1/3] fix PATH_MAX undeclared when building with musl 4Subject: [PATCH] fix PATH_MAX undeclared when building with musl
5 5
6fix PATH_MAX undeclared when building with musl. 6fix PATH_MAX undeclared when building with musl.
7 7
8Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/176]
9
8Signed-off-by: Dengke Du <dengke.du@windriver.com> 10Signed-off-by: Dengke Du <dengke.du@windriver.com>
9Upstream-Status: Pending
10--- 11---
11 include/tst_test.h | 3 +++ 12 include/tst_test.h | 3 +++
12 1 file changed, 3 insertions(+) 13 1 file changed, 3 insertions(+)
13 14
14diff --git a/include/tst_test.h b/include/tst_test.h 15diff --git a/include/tst_test.h b/include/tst_test.h
15index 7ff33b2..9779c0e 100644 16index 335c82684..4dfa1511b 100644
16--- a/include/tst_test.h 17--- a/include/tst_test.h
17+++ b/include/tst_test.h 18+++ b/include/tst_test.h
18@@ -19,6 +19,9 @@ 19@@ -23,6 +23,9 @@
19 #define TST_TEST_H__ 20 #endif /* __TEST_H__ */
20 21
21 #include <unistd.h> 22 #include <unistd.h>
22+#ifndef __GLIBC__ 23+#ifndef __GLIBC__
@@ -26,5 +27,5 @@ index 7ff33b2..9779c0e 100644
26 #include "tst_common.h" 27 #include "tst_common.h"
27 #include "tst_res_flags.h" 28 #include "tst_res_flags.h"
28-- 29--
292.7.4 302.11.0
30 31