trouble porting pci kld
Matthew Dillon
dillon at apollo.backplane.com
Tue Jul 20 18:38:51 PDT 2004
Right. user programs should use <stdint.h> ... <sys/stdint.h> is
not a normal user include file, it's there so the kernel can get at
the stdint variables without polluting its space with libc junk.
-Matt
:-On [20040719 03:12], Chuck Tuffli (chuck_tuffli at xxxxxxxxxxx) wrote:
:>#include <stdint.h>
:>to
:>#include <sys/stdint.h>
:
:Which goes against the C specification, stdint.h is REQUIRED to be reachable
:through:
:
:#include <stdint.h>
:
:IIRC, kernel drivers can only depend on machine/ and sys/ headers, so the
:above is probably moot anymore.
:
:There's most likely an equivalent header to include.
:
:--
:Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
More information about the Kernel
mailing list