[lttng-dev] [PATCH lttng-ust] Fix: missing _GNU_SOURCE define

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Jan 5 11:53:43 EST 2016


merged. thanks!

Mathieu

----- On Jan 4, 2016, at 5:31 PM, Jonathan Rajotte jonathan.rajotte-julien at efficios.com wrote:

> O_CLOEXEC require _GNU_SOURCE.
> 
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
> liblttng-ust/lttng-ust-elf.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/liblttng-ust/lttng-ust-elf.c b/liblttng-ust/lttng-ust-elf.c
> index dcae966..e906269 100644
> --- a/liblttng-ust/lttng-ust-elf.c
> +++ b/liblttng-ust/lttng-ust-elf.c
> @@ -16,6 +16,7 @@
>  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
>  */
> 
> +#define _GNU_SOURCE
> #include <helper.h>
> #include <string.h>
> #include <lttng/align.h>
> --
> 2.5.0

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list