commit | 544e4124fe18804b8adcbb90993bbfa76a090763 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Wed Sep 14 21:49:42 2011 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Wed Sep 14 21:49:42 2011 +0000 |
tree | 7ce5c46ce4c0b565ec052100501617d069973854 | |
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
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index efd04f6..bbbc344 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;