cstdlib is not automatically included with StringRef anymore.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 19 Nov 2009 16:08:04 +0000 (16:08 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 19 Nov 2009 16:08:04 +0000 (16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89359 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/STLExtras.h

index a8b613307da1f2d302c83fe39bea5866c16334f2..32cf4590e9939cf1170aa1ac9afac2d7a1aa081b 100644 (file)
@@ -18,6 +18,7 @@
 #define LLVM_ADT_STLEXTRAS_H
 
 #include <cstddef> // for std::size_t
+#include <cstdlib> // for qsort
 #include <functional>
 #include <iterator>
 #include <utility> // for std::pair