Messages in this thread | | | Date | Sun, 8 Jan 2012 16:00:12 +0100 | From | Ingo Molnar <> | Subject | Re: [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
| |