[llvm-commits] [llvm] r139743 - /llvm/trunk/lib/Support/Unix/PathV2.inc
Bill Wendling
isanbard at gmail.com
Wed Sep 14 14:49:42 PDT 2011
Author: void
Date: Wed Sep 14 16:49:42 2011
New Revision: 139743
URL: http://llvm.org/viewvc/llvm-project?rev=139743&view=rev
Log:
Include limits.h to make sure PATH_MAX is known on Solaris 10.
Patch by Joakim Johansson!
Modified:
llvm/trunk/lib/Support/Unix/PathV2.inc
Modified: llvm/trunk/lib/Support/Unix/PathV2.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/PathV2.inc?rev=139743&r1=139742&r2=139743&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/PathV2.inc (original)
+++ llvm/trunk/lib/Support/Unix/PathV2.inc Wed Sep 14 16:49:42 2011
@@ -42,6 +42,9 @@
#if HAVE_STDIO_H
#include <stdio.h>
#endif
+#if HAVE_LIMITS_H
+#include <limits.h>
+#endif
using namespace llvm;
More information about the llvm-commits
mailing list