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

2012-05-19 Thread Robert Millan
2012/5/18 Steven Chamberlain ste...@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 :-) The

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

2012-05-19 Thread Steven Chamberlain
On 14:08, Robert Millan wrote: 2012/5/18 Steven Chamberlain ste...@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

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

2012-05-19 Thread Steven Chamberlain
On 14:44, Steven Chamberlain wrote: So due to this kludge, some headers must now include sys/types.h Ummm that's probably not true either, I've just saw the commit fixing this. -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org

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

2012-05-19 Thread Robert Millan
2012/5/19 Steven Chamberlain ste...@pyro.eu.org: 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? No, headers can rely on stddef.h for size_t as usual. It's just kvm.h which tries to be

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

2012-05-18 Thread Sebastian Harl
Package: libkvm-dev Version: 9.0+ds1-2 Severity: important Hi, /usr/include/kvm.h requires sys/types.h: tokkee@kfreebsd:~$ cat kvm-test.c #include kvm.h int main(void) { return 0; } tokkee@kfreebsd:~$ gcc kvm-test.c In file included from kvm-test.c:1:0: /usr/include/kvm.h:45:1:

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

2012-05-18 Thread Steven Chamberlain
user debian-...@lists.debian.org usertags 673431 kfreebsd thanks Hi, 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; I have no idea if or where this is documented, but I'm sure it

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

2012-05-18 Thread Sebastian Harl
Hi, 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