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

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


On Fri, May 18, 2012 at 06:25:50PM +0100, Steven Chamberlain wrote:
> 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;

Well, I usually expect headers to be self-contained ;-) But that may
just be my personal preference ;-)

> I have no idea if or where this is documented, but I'm sure it
> should be :)

The kvm_*(3) manpages would be a a good place imho. E.g. kvm_open(3)
documents, that fcntl.h is required as well.


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply to: