From: Jérémie Galarneau Date: Wed, 19 Nov 2014 19:14:12 +0000 (-0500) Subject: Define _LGPL_SOURCE in test apps' tracepoint provider files X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a349ffc2fb69bc3e38df2334594dc9aafc69639a;p=lttng-tools.git Define _LGPL_SOURCE in test apps' tracepoint provider files Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/ust/multi-session/tp.c b/tests/regression/ust/multi-session/tp.c index e291924a3..c90b996d9 100644 --- a/tests/regression/ust/multi-session/tp.c +++ b/tests/regression/ust/multi-session/tp.c @@ -12,5 +12,6 @@ * with the above copyright notice. */ +#define _LGPL_SOURCE #define TRACEPOINT_CREATE_PROBES #include "ust_gen_nevents.h" diff --git a/tests/utils/testapp/gen-ust-events/tp.c b/tests/utils/testapp/gen-ust-events/tp.c index a09561d70..6f5341436 100644 --- a/tests/utils/testapp/gen-ust-events/tp.c +++ b/tests/utils/testapp/gen-ust-events/tp.c @@ -11,5 +11,6 @@ * with the above copyright notice. */ +#define _LGPL_SOURCE #define TRACEPOINT_CREATE_PROBES #include "tp.h" diff --git a/tests/utils/testapp/gen-ust-nevents/tp.c b/tests/utils/testapp/gen-ust-nevents/tp.c index a09561d70..6f5341436 100644 --- a/tests/utils/testapp/gen-ust-nevents/tp.c +++ b/tests/utils/testapp/gen-ust-nevents/tp.c @@ -11,5 +11,6 @@ * with the above copyright notice. */ +#define _LGPL_SOURCE #define TRACEPOINT_CREATE_PROBES #include "tp.h"