summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-06 03:30:28 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-06 03:30:28 +0000
commit82f64531f60fa25bde78d71871c1dac5d66a82a0 (patch)
treed3be6aaeacb91a951eabaa55300370f5ff01e2aa /llvm/lib/Bytecode
parent13c2c689a17668dbf50bc7f67d9a9e5b814570d1 (diff)
downloadbcm5719-llvm-82f64531f60fa25bde78d71871c1dac5d66a82a0.tar.gz
bcm5719-llvm-82f64531f60fa25bde78d71871c1dac5d66a82a0.zip
All of our supported operating systems (so far) and FreeBSD technically
want you to include <sys/stat.h> for fstat(), struct stat, and friends. llvm-svn: 8887
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r--llvm/lib/Bytecode/Reader/ReaderWrappers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/ReaderWrappers.cpp b/llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
index 68f210175b9..99c0e6be9ee 100644
--- a/llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
+++ b/llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
@@ -8,6 +8,7 @@
#include "ReaderInternals.h"
#include "Support/StringExtras.h"
#include "Config/fcntl.h"
+#include <sys/stat.h>
#include "Config/unistd.h"
#include "Config/sys/mman.h"
OpenPOWER on IntegriCloud