From 521954e8138f41fdb1448a99317868ed55505e75 Mon Sep 17 00:00:00 2001 From: Ben Langmuir Date: Mon, 9 Feb 2015 19:30:29 +0000 Subject: [PATCH] Add missing include from r228592 llvm-svn: 228594 --- clang/lib/Frontend/CompilerInvocation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index eef0535265f4..ac3c31180446 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -39,6 +39,9 @@ #include #include #include +#if LLVM_ON_UNIX +#include // for gethostname() +#endif using namespace clang; //===----------------------------------------------------------------------===//