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

Jonathan Rajotte Julien Jonathan.rajotte-julien at efficios.com
Thu Jan 29 17:51:36 EST 2015


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




More information about the lttng-dev mailing list