[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120108150012.GA7570@elte.hu>
Date: Sun, 8 Jan 2012 16:00:12 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Namhyung Kim <namhyung@...il.com>
Cc: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>, linux-kernel@...r.kernel.org
Subject: Re: [ERROR] perf build failure on current tip:perf/core
* Namhyung Kim <namhyung@...il.com> wrote:
> Putting the debug lines told me __USE_UNIX98 is not defined
> for the file. It's because ctype.h gets included without
> _GNU_SOURCE and then it includes feature.h AFAICS.
> Encompassing ctype.h with #define/#undef _GNU_SOURCE or just
> adding __USE_UNIX98 before unistd.h makes the file compiled,
> but it seems like an improper solution. What is the right way?
Could you just remove the ctype.h include? AFAICS it's not
needed in that file.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists