aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/MappedFile.inc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-10-05 18:46:59 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-10-05 18:46:59 +0000
commite789a6bfffac759af13ec567409f1a960e5a56ed (patch)
tree3151aaa6fb265661a500a82018f3cf72d245c2db /lib/System/Unix/MappedFile.inc
parent0c50bc4cc26536d9bcff2f06da411a61b090351d (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
Diffstat (limited to 'lib/System/Unix/MappedFile.inc')
-rw-r--r--lib/System/Unix/MappedFile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Unix/MappedFile.inc b/lib/System/Unix/MappedFile.inc
index 7e03cd15a8..fec2408c19 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;