Messages in this thread | | | Date | Wed, 30 Mar 2022 15:50:43 +0200 | From | Jiri Olsa <> | Subject | Re: [RFC PATCH v2 4/7] libperf: Introduce perf_{evsel, evlist}__open_opt with extensible struct opts |
| |
On Fri, Mar 25, 2022 at 01:38:26PM +0900, Shunsuke Nakamura wrote:
SNIP
> diff --git a/tools/lib/perf/evsel.c b/tools/lib/perf/evsel.c > index b17842581dea..db9b7274feb5 100644 > --- a/tools/lib/perf/evsel.c > +++ b/tools/lib/perf/evsel.c > @@ -1,4 +1,7 @@ > // SPDX-License-Identifier: GPL-2.0 > +#ifndef _GNU_SOURCE > +#define _GNU_SOURCE > +#endif
I think we can make this global set in Makefile, like we do in perf
jirka
| |