Included assert.h so that the code compiles under newer versions of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/Support/Annotation.h b/include/Support/Annotation.h
index d9c02db..8dbad76 100644
--- a/include/Support/Annotation.h
+++ b/include/Support/Annotation.h
@@ -16,6 +16,7 @@
#define SUPPORT_ANNOTATION_H
#include <string>
+#include <assert.h>
class AnnotationID;
class Annotation;
class Annotable;
diff --git a/include/Support/BitSetVector.h b/include/Support/BitSetVector.h
index e52ca17..6ce56be 100644
--- a/include/Support/BitSetVector.h
+++ b/include/Support/BitSetVector.h
@@ -31,6 +31,7 @@
#include <functional>
#include <iostream>
+#include <assert.h>
#define WORDSIZE (32U)
diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h
index aafef95..b524c97 100644
--- a/include/Support/CommandLine.h
+++ b/include/Support/CommandLine.h
@@ -19,6 +19,8 @@
#include <cstdarg>
#include "boost/type_traits/object_traits.hpp"
+#include <assert.h>
+
/// cl Namespace - This namespace contains all of the command line option
/// processing machinery. It is intentionally a short name to make qualified
/// usage concise.
diff --git a/include/Support/SCCIterator.h b/include/Support/SCCIterator.h
index 26afdd7..ed660d6 100644
--- a/include/Support/SCCIterator.h
+++ b/include/Support/SCCIterator.h
@@ -21,6 +21,7 @@
#include <stack>
#include <map>
+#include <assert.h>
//--------------------------------------------------------------------------
// class SCC : A simple representation of an SCC in a generic Graph.
diff --git a/include/Support/Timer.h b/include/Support/Timer.h
index e89f32f..40ab643 100644
--- a/include/Support/Timer.h
+++ b/include/Support/Timer.h
@@ -29,6 +29,8 @@
#include <vector>
#include <iosfwd>
+#include <assert.h>
+
class TimerGroup;
class Timer {
diff --git a/include/Support/Tree.h b/include/Support/Tree.h
index 9e8d5ae..544e57e 100644
--- a/include/Support/Tree.h
+++ b/include/Support/Tree.h
@@ -10,6 +10,8 @@
#include <vector>
+#include <assert.h>
+
template<class ConcreteTreeNode, class Payload>
class Tree {
std::vector<ConcreteTreeNode*> Children; // This nodes children, if any