tech-pkg archive

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

uint64_t for SUA 6.0



Hi,

libnbcomat's configure try to detect unit64_t after detection of sys/types.h, 
inttypes.h and stdint.h.
On SUA 6.0, uint64_t is only defined in stdint.h
(sys/types.h and inttypes.h define both uint{8,16,32}_t and u_int{8,16,32}_t, 
but only u_int64_t for 64bit).
But in nbcompat/types.h, sys/types.h and inttypes.h are included, but not for 
stdint.h.
It cause build failure when using uint64_t (ex. nbcompat/sha2.h).
(I don't know why nbcompat/statvfs.h include additional stdint.h though)

OK to also include stdint.h in nbcompat/types.h?

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index