Re: [crossdev] [PATCH] [PATCH] only include execinfo.h if crashtrace support is enabled



>>>>> "Robert" == Robert Schwebel <r schwebel pengutronix de> writes:

 Robert> On Mon, Jan 02, 2012 at 02:49:40PM +0100, Peter Korsgaard wrote:
 >> On systems without backtrace suport (E.G. uClibc depending on config),
 >> execinfo.h might not be available, breaking the build.
 >> 
 >> Fix it by only including it if enabled.

 Robert> But the patch just removes the include...?

It's already included below in a conditional:

#ifdef ENABLE_CRASHTRACE
#include <execinfo.h>
#endif

-- 
Bye, Peter Korsgaard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]