On Sun, May 26, 2013 at 04:43:57PM +0100, Peter Maydell wrote: > 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
Could be a stale file in your tree ... Did configure get re-run? Could you post the config-host.mak file please?