summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/PathV2.inc
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-14 21:49:42 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-14 21:49:42 +0000
commitbdaa57fe6dc50cc70e7d61fe022901d099b3e7ef (patch)
tree99b575187ee82004872c6efe62d5f7a436b37a33 /llvm/lib/Support/Unix/PathV2.inc
parent61326e08ec2baf34604f108fc76509e600d99cb1 (diff)
downloadbcm5719-llvm-bdaa57fe6dc50cc70e7d61fe022901d099b3e7ef.tar.gz
bcm5719-llvm-bdaa57fe6dc50cc70e7d61fe022901d099b3e7ef.zip
Include limits.h to make sure PATH_MAX is known on Solaris 10.
Patch by Joakim Johansson! llvm-svn: 139743
Diffstat (limited to 'llvm/lib/Support/Unix/PathV2.inc')
-rw-r--r--llvm/lib/Support/Unix/PathV2.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc
index efd04f65bbe..bbbc344661b 100644
--- a/llvm/lib/Support/Unix/PathV2.inc
+++ b/llvm/lib/Support/Unix/PathV2.inc
@@ -42,6 +42,9 @@
#if HAVE_STDIO_H
#include <stdio.h>
#endif
+#if HAVE_LIMITS_H
+#include <limits.h>
+#endif
using namespace llvm;
OpenPOWER on IntegriCloud