On 26 May 2013 16:22, Michael S. Tsirkin <m...@redhat.com> wrote: > virtio linux headers are actually pretty portable: > all we need is implement linux/types.h in a portable > way, and we can import them and use on any platform. > > These patches do exactly that, as a pre-requisite > to adding support for new virtio layout. > > Note: if someone adds non-portable code in files we import from linux-headers, > we'll have to revert to copying code manually. This didn't happen yet so > hopefully it won't.
This series breaks compilation on MacOSX: CC net/eth.o In file included from net/eth.c:18: In file included from /Users/pm215/src/qemu/include/net/eth.h:29: /Users/pm215/src/qemu/linux-headers/linux/if_ether.h:24:10: fatal error: 'linux/types.h' file not found #include <linux/types.h> ^ 1 error generated. make: *** [net/eth.o] Error 1 thanks -- PMM