From 21a265b30e6b606417acded87061088ce93b3462 Mon Sep 17 00:00:00 2001 From: Tudor Bosman Date: Tue, 5 Jun 2012 00:04:29 -0700 Subject: [PATCH] Add #include to folly/Malloc.h. Test Plan: folly tests Reviewed By: philipp@fb.com, andrei.alexandrescu@fb.com FB internal diff: D486884, D487376 --- folly/Malloc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/folly/Malloc.h b/folly/Malloc.h index 946060ab..7aadfc8f 100644 --- a/folly/Malloc.h +++ b/folly/Malloc.h @@ -32,6 +32,9 @@ namespace folly { using std::jemallocMinInPlaceExpandable; using std::usingJEMalloc; using std::smartRealloc; + using std::checkedMalloc; + using std::checkedCalloc; + using std::checkedRealloc; } #else // !defined(_GLIBCXX_USE_FB) || defined(_LIBSTDCXX_FBSTRING) @@ -57,6 +60,8 @@ namespace folly { #include #include +#include + /** * Declare rallocm() and malloc_usable_size() as weak symbols. It * will be provided by jemalloc if we are using jemalloc, or it will -- 2.34.1