On Mon, Sep 22, 2014 at 10:43:27AM +0200, Ludovic Courtès wrote: > What libc version is this? The package is glibc-2.12-1.107.el6_4.5.x86_64. > It would have been great, if this is still possible, to post lib/poll.h. > Normally that file uses #include_next to get libc’s , but maybe > that mechanism somehow fails with old GCC versions. I just retried the compilation, and poll.h is attached. It contains #if 1 # include_next #endif There is a /usr/include/poll.h, which contains the one line #include This in turn does an #include which has a line #define POLLIN 0x001 /* There is data to read. */ I tried to replace the # include_next in lib/poll.h by a simple #include, but that leads to ../lib/poll.h:31:18: error: #include nested too deeply Andreas