aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/ReaderWrappers.cpp
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
commit378b524ba0b9fd9d04801526668d1845c65af6e7 (patch)
tree7e5f36cdc15f831746a2ffbbf39c4007d4376d1c /lib/Bytecode/Reader/ReaderWrappers.cpp
parent9bf6239a1fe100da370d00735d3aedd3a7349cf2 (diff)
All of our supported operating systems (so far) and FreeBSD technically
want you to include <sys/stat.h> for fstat(), struct stat, and friends. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderWrappers.cpp')
-rw-r--r--lib/Bytecode/Reader/ReaderWrappers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/ReaderWrappers.cpp b/lib/Bytecode/Reader/ReaderWrappers.cpp
index 68f210175b..99c0e6be9e 100644
--- a/lib/Bytecode/Reader/ReaderWrappers.cpp
+++ b/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"