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
diff --git a/lib/Bytecode/Reader/ReaderWrappers.cpp b/lib/Bytecode/Reader/ReaderWrappers.cpp
index 68f2101..99c0e6b 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"