Adjust sys/stat.h inclusion so its only for SunOS.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16686 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/SunOS/MappedFile.cpp b/lib/System/SunOS/MappedFile.cpp
index ebde62a..a90f7ea 100644
--- a/lib/System/SunOS/MappedFile.cpp
+++ b/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