diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-10-05 00:56:46 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-10-05 00:56:46 +0000 |
commit | abb04cfc79704f56d945943bc87555f43160adb8 (patch) | |
tree | 2f6915b41cc94d6599d685f0c69e8154d0300a7e /llvm/lib/System | |
parent | c3ef3cc7e58b26a9c20360a3311aa8104bd40485 (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/System/SunOS/MappedFile.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/System/Unix/Unix.h | 1 |
2 files changed, 1 insertions, 1 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 diff --git a/llvm/lib/System/Unix/Unix.h b/llvm/lib/System/Unix/Unix.h index 37bc53c28a5..b9eff46c46f 100644 --- a/llvm/lib/System/Unix/Unix.h +++ b/llvm/lib/System/Unix/Unix.h @@ -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> |