From: Brian Gaeke Date: Tue, 5 Oct 2004 18:46:59 +0000 (+0000) Subject: Must include sys/stat.h before declaring a 'struct stat' X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e789a6bfffac759af13ec567409f1a960e5a56ed;p=oota-llvm.git 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 7e03cd15a81..fec2408c195 100644 --- a/lib/System/Unix/MappedFile.cpp +++ b/lib/System/Unix/MappedFile.cpp @@ -20,6 +20,7 @@ #include "Unix.h" #include #include +#include namespace llvm { using namespace sys; diff --git a/lib/System/Unix/MappedFile.inc b/lib/System/Unix/MappedFile.inc index 7e03cd15a81..fec2408c195 100644 --- a/lib/System/Unix/MappedFile.inc +++ b/lib/System/Unix/MappedFile.inc @@ -20,6 +20,7 @@ #include "Unix.h" #include #include +#include namespace llvm { using namespace sys;