summaryrefslogtreecommitdiffstats
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
commitc5a630bd3c495ee72f02a97c6e620e4c9d0b631b (patch)
tree56dc061ad8ebc94842e162490947bf0db34baa4f
parenta3d1b776b9e02cc8919a65e7d1df9d2979893c39 (diff)
downloadbcm5719-llvm-c5a630bd3c495ee72f02a97c6e620e4c9d0b631b.tar.gz
bcm5719-llvm-c5a630bd3c495ee72f02a97c6e620e4c9d0b631b.zip
Must include sys/stat.h before declaring a 'struct stat'
llvm-svn: 16728
-rw-r--r--llvm/lib/System/Unix/MappedFile.cpp1
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;
OpenPOWER on IntegriCloud