blob: 4423061fd80426cde109e7e395628b1180bc68b6 (
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 eba8b855017605c42368e509e599875f71440940 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] 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 3c4e3407d..2d071fa36 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.13.0
|