[lldb] Fix lldb build on musl
authorRaphael Isemann <teemperor@gmail.com>
Tue, 28 Aug 2018 22:17:28 +0000 (22:17 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 28 Aug 2018 22:17:28 +0000 (22:17 +0000)
commit691e92b573ced02f1e66d674d4bd83d19e070144
tree7a9c53925717954bbe2c24e05a89edb4e19096e6
parentd8358b8e6f4b8a9bd6bb5669f7085e25bee1cee8
[lldb] Fix lldb build on musl

Summary: limits.h is needed for getting PATH_MAX definition, this comes to fore
with musl libc where limits.h is not included indirectly via other system headers.

Patch by Khem Raj, thanks!

Reviewers: compnerd

Reviewed By: compnerd

Subscribers: llvm-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D31275

llvm-svn: 340876
lldb/source/Utility/FileSpec.cpp