Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: src/sys/sys/rb.h causes problem?



On Wed, Jun 04, 2008 at 09:08:04AM -0700, Paul Goyette wrote:
>> /u/NetBSD/src/sys/sys/rb.h:164: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'rb_tree_insert_node'
>> /u/NetBSD/src/sys/sys/rb.h:164: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'rb_tree_insert_node'

Yes, what is odd is that rb.h includes sys/types.h which does

#if defined(_KERNEL) || defined(_STANDALONE)
#define bool    _Bool

Ah: when compiling libc, _KERNEL isn't defined...

possibly #else #include <stdbool.h> instead?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index