lkml.org 
[lkml]   [2012]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ERROR] perf build failure on current tip:perf/core

* Namhyung Kim <namhyung@gmail.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


\
 
 \ /
  Last update: 2012-01-08 16:03    [W:0.267 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site