blob: 3fabbfefe46207a180b2cbd1a8cb910b35a376ff (
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
|
From d630a82a405c44843bae28286a09ac5f9fa202bd Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 18 May 2017 23:12:34 -0700
Subject: [PATCH 1/2] Include limits.h for PATH_MAX definition
Helps compiling on musl targets
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
source/Utility/FileSpec.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/Utility/FileSpec.cpp b/source/Utility/FileSpec.cpp
index 72f86917b..965ac744f 100644
--- a/source/Utility/FileSpec.cpp
+++ b/source/Utility/FileSpec.cpp
@@ -31,7 +31,7 @@
#include <assert.h> // for assert
#include <stdio.h> // for size_t, NULL, snpr...
#include <string.h> // for strcmp
-
+#include <limits.h> // for PATH_MAX
using namespace lldb;
using namespace lldb_private;
--
2.16.1
|