From c5a630bd3c495ee72f02a97c6e620e4c9d0b631b Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 5 Oct 2004 18:46:59 +0000 Subject: Must include sys/stat.h before declaring a 'struct stat' llvm-svn: 16728 --- llvm/lib/System/Unix/MappedFile.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/System/Unix/MappedFile.cpp') 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 #include +#include namespace llvm { using namespace sys; -- cgit v1.2.3