summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/SunOS/MappedFile.cpp
diff options
context:
space:
mode:
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