Fix for PR3946, in which SmallVector could behave strangely in corner cases.
[oota-llvm.git] / include / llvm / ADT / VectorExtras.h
index adc3ff720de7230341fe165800b63217cbc92c9b..e05f585996f9ab182dd6fa2664152692fcad05be 100644 (file)
@@ -1,10 +1,10 @@
 //===-- llvm/ADT/VectorExtras.h - Helpers for std::vector -------*- C++ -*-===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
 //===----------------------------------------------------------------------===//
 //
 // This file contains helper functions which are useful for working with the
@@ -16,6 +16,7 @@
 #define LLVM_ADT_VECTOREXTRAS_H
 
 #include <cstdarg>
+#include <vector>
 
 namespace llvm {