add missing header
(needed on Solaris)

llvm-svn: 39781
diff --git a/clang/Basic/SourceManager.cpp b/clang/Basic/SourceManager.cpp
index f6148c16..2a9a553 100644
--- a/clang/Basic/SourceManager.cpp
+++ b/clang/Basic/SourceManager.cpp
@@ -17,6 +17,8 @@
 #include "llvm/System/Path.h"
 #include <algorithm>
 #include <iostream>
+#include <fcntl.h>
+
 using namespace clang;
 using namespace SrcMgr;
 using llvm::MemoryBuffer;