commit | e789a6bfffac759af13ec567409f1a960e5a56ed | [log] [tgz] |
---|---|---|
author | Brian Gaeke <gaeke@uiuc.edu> | Tue Oct 05 18:46:59 2004 +0000 |
committer | Brian Gaeke <gaeke@uiuc.edu> | Tue Oct 05 18:46:59 2004 +0000 |
tree | 3151aaa6fb265661a500a82018f3cf72d245c2db | |
parent | 0c50bc4cc26536d9bcff2f06da411a61b090351d [diff] |
Must include sys/stat.h before declaring a 'struct stat' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16728 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Unix/MappedFile.cpp b/lib/System/Unix/MappedFile.cpp index 7e03cd1..fec2408 100644 --- a/lib/System/Unix/MappedFile.cpp +++ b/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;
diff --git a/lib/System/Unix/MappedFile.inc b/lib/System/Unix/MappedFile.inc index 7e03cd1..fec2408 100644 --- a/lib/System/Unix/MappedFile.inc +++ b/lib/System/Unix/MappedFile.inc
@@ -20,6 +20,7 @@ #include "Unix.h" #include <fcntl.h> #include <sys/mman.h> +#include <sys/stat.h> namespace llvm { using namespace sys;