Christoph Egger wrote:
> As Ian reported in the context of #766913, freebsd documentation[0]
> suggests using sys/types.h to get uint8_t and friends. However your
> advice for sys/param.h seems to be necessary on kFreeBSD. Is that on
>  purpose?

Oh.  I was thinking of sys/types.h, but indeed, won't work on
GNU/kFreeBSD because the GNU libc version doesn't provide uint8_t etc.
We have the original FreeBSD header at sys/kglue/sys/types.h

FreeBSD kernel code often uses sys/param.h, which happened to work when
I tried it here, by accident because I think because it brings in
stdint.h

stdint.h was probably the best / most portable thing to use here, but
haven't tried it.

Regards,
-- 
Steven Chamberlain
[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to