aboutsummaryrefslogtreecommitdiff
path: root/Basic
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-12 16:00:00 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-12 16:00:00 +0000
commit1501218865b4f5abfa1cc97501bc59be88dfaeb7 (patch)
tree332f3020cc049a697ec3c4ac6175100438b27d9c /Basic
parent6fa5f0943a84233b2e1ec9716eae55643225bfd4 (diff)
add missing header
(needed on Solaris) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Basic')
-rw-r--r--Basic/SourceManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Basic/SourceManager.cpp b/Basic/SourceManager.cpp
index f6148c1602..2a9a553fcc 100644
--- a/Basic/SourceManager.cpp
+++ b/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;