On 9/19/10 7:11 PM, Andreas Färber wrote:
Haiku does not have asm/types.h. It does have [u]int*_t but not in sys/types.h. Use stdint.h instead, that works for both Haiku and OpenSolaris and avoids more code duplication in shared/types.h.
Signed-off-by: Andreas Färberandreas.faerber@web.de Cc: Stefan Reinauerstepan@openbios.org
Thanks for spotting this and sending a patch!
Hm.. I'm just wondering... shouldn't we instead use stdint.h for all platforms? It's there at least on all C99 compilers (see section 7.18).. I think we can stop caring too much for platforms with more than 10yr old compilers (that, in addition, don't come with stdint.h anyways)
Stefan