Re: [Qemu-devel] [PATCH] net: Include iov.h in checksum.h

2014-02-10 Thread Stefan Hajnoczi
On Fri, Feb 07, 2014 at 08:54:00AM +0100, Alexander Graf wrote: > > > > Am 07.02.2014 um 08:05 schrieb Michael Tokarev : > > > > 06.02.2014 19:30, Alexander Graf wrote: > >> The checksum calculation header exports a function that refers to struct > >> iov which is defined in iov.h. Include the h

Re: [Qemu-devel] [PATCH] net: Include iov.h in checksum.h

2014-02-06 Thread Alexander Graf
> Am 07.02.2014 um 08:05 schrieb Michael Tokarev : > > 06.02.2014 19:30, Alexander Graf wrote: >> The checksum calculation header exports a function that refers to struct >> iov which is defined in iov.h. Include the header so that the compiler >> knows what this struct is about. > > Alternativ

Re: [Qemu-devel] [PATCH] net: Include iov.h in checksum.h

2014-02-06 Thread Michael Tokarev
06.02.2014 19:30, Alexander Graf wrote: > The checksum calculation header exports a function that refers to struct > iov which is defined in iov.h. Include the header so that the compiler > knows what this struct is about. Alternatively (and I sometimes prefer it this way), one can just declare `s