summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/SunOS/MappedFile.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-05 00:56:46 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-05 00:56:46 +0000
commitabb04cfc79704f56d945943bc87555f43160adb8 (patch)
tree2f6915b41cc94d6599d685f0c69e8154d0300a7e /llvm/lib/System/SunOS/MappedFile.cpp
parentc3ef3cc7e58b26a9c20360a3311aa8104bd40485 (diff)
downloadbcm5719-llvm-abb04cfc79704f56d945943bc87555f43160adb8.tar.gz
bcm5719-llvm-abb04cfc79704f56d945943bc87555f43160adb8.zip
Adjust sys/stat.h inclusion so its only for SunOS.
llvm-svn: 16686
Diffstat (limited to 'llvm/lib/System/SunOS/MappedFile.cpp')
-rw-r--r--llvm/lib/System/SunOS/MappedFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/SunOS/MappedFile.cpp b/llvm/lib/System/SunOS/MappedFile.cpp
index ebde62afc17..a90f7eacb8b 100644
--- a/llvm/lib/System/SunOS/MappedFile.cpp
+++ b/llvm/lib/System/SunOS/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
OpenPOWER on IntegriCloud