DragonFly BSD
DragonFly kernel List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: trouble porting pci kld


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jul 2004 18:37:47 -0700 (PDT)

    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@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



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