From: Tudor Bosman Date: Tue, 5 Jun 2012 07:04:29 +0000 (-0700) Subject: Add #include to folly/Malloc.h. X-Git-Tag: v0.22.0~1284 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=21a265b30e6b606417acded87061088ce93b3462;p=folly.git Add #include to folly/Malloc.h. Test Plan: folly tests Reviewed By: philipp@fb.com, andrei.alexandrescu@fb.com FB internal diff: D486884, D487376 --- 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