On some sparc systems where kernel-2.6 is unstable or under test, we can have a 2.6.xx kernel but 2.4.xx linux-headers. On such systems, evdev (once again) fails to build; please see https://bugs.gentoo.org/show_bug.cgi?id=129999 for somewhat more detail. (There is no problem when using 2.6.xx headers.)
Argh, I'm still debating on if I should figure out something evil for this, or if I should tag it won't fix. A patch might make up my mind.
Fixed in CVS, we no longer pull in the headers in question. Will make a release once I get a few more issues sorted out.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.