From a349ffc2fb69bc3e38df2334594dc9aafc69639a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 19 Nov 2014 14:14:12 -0500 Subject: [PATCH] Define _LGPL_SOURCE in test apps' tracepoint provider files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/regression/ust/multi-session/tp.c | 1 + tests/utils/testapp/gen-ust-events/tp.c | 1 + tests/utils/testapp/gen-ust-nevents/tp.c | 1 + 3 files changed, 3 insertions(+) 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" -- 2.34.1