martine/ninja — pull request #359 by tedv (2012-07-11 15:05:10+00:00)
Title: Fix missing POLLRDHUP constant on older systems.

Attempting to compile with g++ 4.1.2 failed because the POLLRDHUP constant was not defined when is included.

I'm not actually convinced this is the best way to solve the problem, but it also doesn't seem any worse than anything else I tried. For the record, I really wish we could use a later version of g++ (and a later linux kernel), but the current situation is kind of constrained, and our build system desperately needs something faster than make.