diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-14 21:49:42 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-14 21:49:42 +0000 |
commit | 544e4124fe18804b8adcbb90993bbfa76a090763 (patch) | |
tree | 7ce5c46ce4c0b565ec052100501617d069973854 /lib/Support/Unix/PathV2.inc | |
parent | 0b3ed6de80734c3ac15e1b1f0b5306a1f61f88ce (diff) |
Include limits.h to make sure PATH_MAX is known on Solaris 10.
Patch by Joakim Johansson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix/PathV2.inc')
-rw-r--r-- | lib/Support/Unix/PathV2.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index efd04f65bb..bbbc344661 100644 --- a/lib/Support/Unix/PathV2.inc +++ b/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; |