Adjust sys/stat.h inclusion so its only for SunOS.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 5 Oct 2004 00:56:46 +0000 (00:56 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 5 Oct 2004 00:56:46 +0000 (00:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/SunOS/MappedFile.cpp
lib/System/Unix/Unix.h

index ebde62afc1764d66031727b3938b538940dca178..a90f7eacb8b397512cf05098b53b07c69aff5125 100644 (file)
@@ -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
index 37bc53c28a5e881f73d211544627628dbe5822d5..b9eff46c46f10864401eaf7cb9e9fa716c5fccd5 100644 (file)
@@ -23,7 +23,6 @@
 #include <cstring>
 #include <cerrno>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <sys/param.h>
 #include <assert.h>
 #include <string>