forked from OSchip/llvm-project
Fix compilation on Linux, which defines PATH_MAX in a weird place,
from Saleem Abdulrasool! llvm-svn: 173208
This commit is contained in:
parent
1a06479f46
commit
01c7cfa2c0
|
@ -23,6 +23,11 @@
|
|||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include <cstdio>
|
||||
#if defined(LLVM_ON_UNIX)
|
||||
#if defined(__linux__)
|
||||
#include <linux/limits.h>
|
||||
#endif
|
||||
#endif
|
||||
using namespace clang;
|
||||
|
||||
const IdentifierInfo *
|
||||
|
|
|
@ -28,6 +28,11 @@
|
|||
#include "llvm/Support/PathV2.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <stdlib.h>
|
||||
#if defined(LLVM_ON_UNIX)
|
||||
#if defined(__linux__)
|
||||
#include <linux/limits.h>
|
||||
#endif
|
||||
#endif
|
||||
using namespace clang;
|
||||
|
||||
Module::ExportDecl
|
||||
|
|
Loading…
Reference in New Issue