Received: from eggs.gnu.org ([2001:4830:134:3::10]:34415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDAbU-0001K6-8t for qemu-devel@nongnu.org; Tue, 11 Feb 2014 05:30:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDAbP-0000hf-Cv for qemu-devel@nongnu.org; Tue, 11 Feb 2014 05:30:12 -0500 Message-ID: <52F9FBAE.50503@msgid.tls.msk.ru> Date: Tue, 11 Feb 2014 14:30:06 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1391700611-32893-1-git-send-email-agraf@suse.de> <52F485C5.1020107@msgid.tls.msk.ru> <0C8B4C82-8DB7-4B5E-81F0-0C321856BB70@suse.de> <20140210102034.GA15227@stefanha-thinkpad.brq.redhat.com> In-Reply-To: <20140210102034.GA15227@stefanha-thinkpad.brq.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] net: Include iov.h in checksum.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Dmitry Fleytman , qemu-trivial , Alexander Graf , Anthony Liguori , "qemu-devel@nongnu.org" 10.02.2014 14:20, Stefan Hajnoczi =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > 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 st= ruct >>>> iov which is defined in iov.h. Include the header so that the compil= er >>>> knows what this struct is about. >>> >>> Alternatively (and I sometimes prefer it this way), one can just >>> declare `struct iovec;' instead of including whole header, because >>> we don't actually use any definitions from there, and users of >>> checksum.h wont be including extra dependencies which they don't >>> use... Like this: >> >> Either way works for me :) >=20 > Yes, please take one of them via -trivial. I've applied my version to -trivial. Thanks, /mjt