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.patch31
1 files changed, 0 insertions, 31 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
deleted file mode 100644
index 020ddfe3bf..0000000000
--- a/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From b906ec2fe4711a727e198cd9259287c042eef8e2 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com>
3Date: Thu, 9 Feb 2017 16:41:12 +0800
4Subject: [PATCH] fix PATH_MAX undeclared when building with musl
5
6fix PATH_MAX undeclared when building with musl.
7
8Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/176]
9
10Signed-off-by: Dengke Du <dengke.du@windriver.com>
11---
12 include/tst_test.h | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/include/tst_test.h b/include/tst_test.h
16index 335c82684..4dfa1511b 100644
17--- a/include/tst_test.h
18+++ b/include/tst_test.h
19@@ -23,6 +23,9 @@
20 #endif /* __TEST_H__ */
21
22 #include <unistd.h>
23+#ifndef __GLIBC__
24+#include <limits.h>
25+#endif
26
27 #include "tst_common.h"
28 #include "tst_res_flags.h"
29--
302.11.0
31