aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-14 03:33:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-14 03:33:25 +0000
commit83d3aad50e64704109d9fd745b799f3c5bf0f412 (patch)
tree3de0ab09defbcaff107df563823380c4930964c0
parent8af3ed03546bd2bfc23084b164ee28f28b39d683 (diff)
downloadexternal_llvm-83d3aad50e64704109d9fd745b799f3c5bf0f412.zip
external_llvm-83d3aad50e64704109d9fd745b799f3c5bf0f412.tar.gz
external_llvm-83d3aad50e64704109d9fd745b799f3c5bf0f412.tar.bz2
Allow this file to compile on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16971 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/System/Darwin/MappedFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Darwin/MappedFile.cpp b/lib/System/Darwin/MappedFile.cpp
index c3f2656..c740a45 100644
--- a/lib/System/Darwin/MappedFile.cpp
+++ b/lib/System/Darwin/MappedFile.cpp
@@ -13,6 +13,7 @@
//===----------------------------------------------------------------------===//
// Include the generic unix implementation
+#include <sys/stat.h>
#include "../Unix/MappedFile.cpp"
// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab