From mboxrd@z Thu Jan 1 00:00:00 1970 From: jeremie.galarneau@efficios.com (=?UTF-8?Q?J=C3=A9r=C3=A9mie_Galarneau?=) Date: Thu, 25 Jun 2015 11:52:09 -0400 Subject: [lttng-dev] [lttng-tools 2.5] [Backport]Missing include for out of tree build In-Reply-To: <54CAB978.5060407@efficios.com> References: <54CAB978.5060407@efficios.com> Message-ID: Necro-bumping this to confirm this was merged as in stable-2.5 on Fri Feb 6 15:42:07 2015 -0500. Thanks! J?r?mie On Thu, Jan 29, 2015 at 5:51 PM, Jonathan Rajotte Julien < Jonathan.rajotte-julien at efficios.com> wrote: > Hey, > > While making sure we support out of tree build for lttng-tools > master/stable-2.6/stable-2.5 I found that 2.5 was failing at oot build. > After some digging, it looks like a patch submitted to fix this problem was > not backported to 2.5. > > The commit in question currently in master and 2.6 branch : > > commit 4900d3cd9c4accc131a6a79986151cf3e6236031 > Author: Mathieu Desnoyers > Date: Tue Jul 29 18:10:27 2014 -0400 > > Fix: out of tree build by adding missing ini.c include > > Signed-off-by: Mathieu Desnoyers > Signed-off-by: David Goulet > > diff --git a/src/common/config/ini.c b/src/common/config/ini.c > index 4369a32..7b2a4b6 100644 > --- a/src/common/config/ini.c > +++ b/src/common/config/ini.c > @@ -31,9 +31,11 @@ > * http://code.google.com/p/inih/ > */ > > +#define _GNU_SOURCE > #include > #include > #include > +#include > > #include "ini.h" > > Cheers! > > -- > Jonathan R. Julien > Efficios > > -- J?r?mie Galarneau EfficiOS Inc. http://www.efficios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: