llvm: lldb: (native musl): needs limits.h for PATH_MAX.

This commit is contained in:
Juan RP 2015-05-07 11:14:12 +02:00
parent 38085b564a
commit 9339f55ed3
2 changed files with 11 additions and 1 deletions

View file

@ -8,3 +8,13 @@
#include <sys/file.h>
#include <sys/mman.h>
#include <sys/stat.h>
--- source/Host/common/FileSpec.cpp.orig 2015-05-07 11:12:29.544965335 +0200
+++ source/Host/common/FileSpec.cpp 2015-05-07 11:13:32.999890912 +0200
@@ -14,6 +14,7 @@
#include "lldb/Host/windows/windows.h"
#endif
#include <fcntl.h>
+#include <limits.h> /* PATH_MAX */
#ifndef _MSC_VER
#include <libgen.h>
#endif

View file

@ -1,4 +1,4 @@
# Template file for 'llvm'
# Template file for 'llvm'
pkgname=llvm
version=3.6.0
wrksrc="llvm-${version}.src"