[lttng-dev] [lttng-tools 2.5] [Backport]Missing include for out of tree build

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu Jun 25 11:52:09 EDT 2015


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 <mathieu.desnoyers at efficios.com>
> 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 <mathieu.desnoyers at efficios.com>
>     Signed-off-by: David Goulet <dgoulet at efficios.com>
>
> 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 <stdio.h>
>  #include <ctype.h>
>  #include <string.h>
> +#include <common/common.h>
>
>  #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: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150625/f84fa86c/attachment-0001.html>


More information about the lttng-dev mailing list