From: Bryan Duxbury Date: Thu, 2 Sep 2010 16:42:18 +0000 (+0000) Subject: THRIFT-856. cpp: Building cpp library fails on OS X with malloc and free not being... X-Git-Tag: 0.5.0~59 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=7a0825c34da505371aaaded74565108fa01f526c;p=common%2Fthrift.git THRIFT-856. cpp: Building cpp library fails on OS X with malloc and free not being declared in scope This patch adds include which seems to fix the problem for some people. Patch: James Clarke git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@992013 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/Thrift.cpp b/lib/cpp/src/Thrift.cpp index cc0a01bf..114947f2 100644 --- a/lib/cpp/src/Thrift.cpp +++ b/lib/cpp/src/Thrift.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include #include