diff options
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Archive/ArchiveReader.cpp | 6 | ||||
-rw-r--r-- | lib/Bytecode/Reader/ArchiveReader.cpp | 6 | ||||
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 10 | ||||
-rw-r--r-- | lib/Bytecode/Writer/Writer.cpp | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/lib/Bytecode/Archive/ArchiveReader.cpp b/lib/Bytecode/Archive/ArchiveReader.cpp index 450fd04587..f631f2dc73 100644 --- a/lib/Bytecode/Archive/ArchiveReader.cpp +++ b/lib/Bytecode/Archive/ArchiveReader.cpp @@ -11,9 +11,9 @@ #include "llvm/Bytecode/Reader.h" #include "llvm/Module.h" -#include <sys/stat.h> -#include <sys/mman.h> -#include <fcntl.h> +#include "Config/sys/stat.h" +#include "Config/sys/mman.h" +#include "Config/fcntl.h" namespace { struct ar_hdr { diff --git a/lib/Bytecode/Reader/ArchiveReader.cpp b/lib/Bytecode/Reader/ArchiveReader.cpp index 450fd04587..f631f2dc73 100644 --- a/lib/Bytecode/Reader/ArchiveReader.cpp +++ b/lib/Bytecode/Reader/ArchiveReader.cpp @@ -11,9 +11,9 @@ #include "llvm/Bytecode/Reader.h" #include "llvm/Module.h" -#include <sys/stat.h> -#include <sys/mman.h> -#include <fcntl.h> +#include "Config/sys/stat.h" +#include "Config/sys/mman.h" +#include "Config/fcntl.h" namespace { struct ar_hdr { diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 1a7e3d5e56..42ba5d9584 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -11,17 +11,17 @@ //===----------------------------------------------------------------------===// #include "ReaderInternals.h" +#include "Config/sys/mman.h" #include "llvm/Bytecode/Reader.h" #include "llvm/Bytecode/Format.h" #include "llvm/Module.h" #include "llvm/Constants.h" #include "llvm/iPHINode.h" #include "llvm/iOther.h" -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/mman.h> -#include <fcntl.h> -#include <unistd.h> +#include "Config/sys/types.h" +#include "Config/sys/stat.h" +#include "Config/fcntl.h" +#include "Config/unistd.h" #include <algorithm> bool BytecodeParser::getTypeSlot(const Type *Ty, unsigned &Slot) { diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp index ad13eef734..f8d94890f0 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/lib/Bytecode/Writer/Writer.cpp @@ -26,7 +26,7 @@ #include "llvm/DerivedTypes.h" #include "Support/STLExtras.h" #include "Support/Statistic.h" -#include <string.h> +#include "Config/string.h" #include <algorithm> static RegisterPass<WriteBytecodePass> X("emitbytecode", "Bytecode Writer"); |