Reworked solution after taking to maintainer. He said, that it will brea...

...k code that includes a smart_ptr header and then includes the system <var.h>.

In ../boost/lambda/detail/lambda_functor_base.hpp there is variable called var that conflicts with an AIX system variable. Defining var and later undefining it frees that variable name.

Updated solution from previous pull request.