diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-10-05 18:46:59 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-10-05 18:46:59 +0000 |
| commit | c5a630bd3c495ee72f02a97c6e620e4c9d0b631b (patch) | |
| tree | 56dc061ad8ebc94842e162490947bf0db34baa4f /llvm/lib | |
| parent | a3d1b776b9e02cc8919a65e7d1df9d2979893c39 (diff) | |
| download | bcm5719-llvm-c5a630bd3c495ee72f02a97c6e620e4c9d0b631b.tar.gz bcm5719-llvm-c5a630bd3c495ee72f02a97c6e620e4c9d0b631b.zip | |
Must include sys/stat.h before declaring a 'struct stat'
llvm-svn: 16728
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/System/Unix/MappedFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Unix/MappedFile.cpp b/llvm/lib/System/Unix/MappedFile.cpp index 7e03cd15a81..fec2408c195 100644 --- a/llvm/lib/System/Unix/MappedFile.cpp +++ b/llvm/lib/System/Unix/MappedFile.cpp @@ -20,6 +20,7 @@ #include "Unix.h" #include <fcntl.h> #include <sys/mman.h> +#include <sys/stat.h> namespace llvm { using namespace sys; |

