summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch')
-rw-r--r--meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch b/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
new file mode 100644
index 000000000..269001158
--- /dev/null
+++ b/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
@@ -0,0 +1,31 @@
1From 3bda554766150705160fe2191d8761c7881e2433 Mon Sep 17 00:00:00 2001
2From: Changhyeok Bae <changhyeok.bae@gmail.com>
3Date: Thu, 13 Jul 2017 16:46:20 +0900
4Subject: [PATCH 2/2] utils: Add limits header to fix build error
5
6[Error]
7error: 'PATH_MAX' undeclared (first use in this function); did you mean
8'INT8_MAX'?
9
10Upstream-Status: Accepted
11
12Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
13---
14 utils/utils.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/utils/utils.c b/utils/utils.c
18index 03522c9..30f9e81 100644
19--- a/utils/utils.c
20+++ b/utils/utils.c
21@@ -6,6 +6,7 @@
22 #include <errno.h>
23 #include <sys/uio.h>
24 #include <sys/stat.h>
25+#include <limits.h>
26
27 #include "utils/utils.h"
28
29--
301.9.1
31