diff options
author | Ben Langmuir <blangmuir@apple.com> | 2015-02-09 19:30:29 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2015-02-09 19:30:29 +0000 |
commit | 521954e8138f41fdb1448a99317868ed55505e75 (patch) | |
tree | 9822e6a673d36e99cbc809d4b67fdf6c04578778 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 38e6689276923f89423cbc9d285796402d402b0f (diff) | |
download | bcm5719-llvm-521954e8138f41fdb1448a99317868ed55505e75.tar.gz bcm5719-llvm-521954e8138f41fdb1448a99317868ed55505e75.zip |
Add missing include from r228592
llvm-svn: 228594
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index eef0535265f..ac3c3118044 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -39,6 +39,9 @@ #include <memory> #include <sys/stat.h> #include <system_error> +#if LLVM_ON_UNIX +#include <unistd.h> // for gethostname() +#endif using namespace clang; //===----------------------------------------------------------------------===// |