Fix build problem with Gentoo 4.1.1-r3.

llvm-svn: 36348
This commit is contained in:
Jeff Cohen 2007-04-22 18:49:32 +00:00
parent bb693dcfb1
commit 33be4c78ef
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,10 @@
#ifndef LLVM_ABSTRACT_TYPE_USER_H
#define LLVM_ABSTRACT_TYPE_USER_H
// IMPORTANT: Do not include this file directly. Include Type.h instead.
// Some versions of GCC can't handle the inlined method PATypeHolder::dropRef()
// correctly otherwise.
// This is the "master" include for <cassert> Whether this file needs it or not,
// it must always include <cassert> for the files which include
// llvm/AbstractTypeUser.h

View File

@ -14,7 +14,7 @@
#ifndef BITCODE_READER_H
#define BITCODE_READER_H
#include "llvm/AbstractTypeUser.h"
#include "llvm/Type.h"
#include "llvm/ModuleProvider.h"
#include "../LLVMBitCodes.h"
#include <vector>