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

Re: Bug#673431: libkvm-dev: kvm.h requires sys/types.h



On 14:08, Robert Millan wrote:
> 2012/5/18 Steven Chamberlain <steven@pyro.eu.org>:
> > On 18/05/12 17:52, Sebastian Harl wrote:
> >> /usr/include/kvm.h requires sys/types.h:
> >
> > I think that is deliberate, and the user is expected to include it
> > first;
> 
> Uhm no.  You should check such things on FreeBSD before jumping to
> conclusions :-)

I don't even know why I said that now...  s/think/suspect maybe/

So due to this kludge, some headers must now include sys/types.h, because on upstream FreeBSD the appropriate definition would be been provided by GCC?  The new typename is fairly self-documenting now anyway. :)

I'm still confused why some of the kkh /tests/*.c include kern/sys/types.h

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: