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