From 544e4124fe18804b8adcbb90993bbfa76a090763 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 14 Sep 2011 21:49:42 +0000 Subject: [PATCH] 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 --- lib/Support/Unix/PathV2.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index efd04f65bbe..bbbc344661b 100644 --- a/lib/Support/Unix/PathV2.inc +++ b/lib/Support/Unix/PathV2.inc @@ -42,6 +42,9 @@ #if HAVE_STDIO_H #include #endif +#if HAVE_LIMITS_H +#include +#endif using namespace llvm; -- 2.34.1