On 2010-01-01 at 20:36:02 [+0100], axeld@xxxxxxxxxxxxxxxx wrote: > Author: axeld > Date: 2010-01-01 20:36:01 +0100 (Fri, 01 Jan 2010) > New Revision: 34840 > Changeset: http://dev.haiku-os.org/changeset/34840/haiku > > Modified: > haiku/trunk/src/system/libroot/posix/dirent.c > Log: > * Our userland build obviously adds some default headers with GCC2 - why > would > it do that? This fixes the kernel build, and probably GCC4, too. Good question. If you're really interested in an answer, the first step would be to consult the preprocessor where the include comes from when building with gcc 2. :-) CU, Ingo