From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCnyq-0000yJ-2i for qemu-devel@nongnu.org; Mon, 10 Feb 2014 05:20:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCnyl-0008PS-0n for qemu-devel@nongnu.org; Mon, 10 Feb 2014 05:20:47 -0500 Date: Mon, 10 Feb 2014 11:20:34 +0100 From: Stefan Hajnoczi Message-ID: <20140210102034.GA15227@stefanha-thinkpad.brq.redhat.com> References: <1391700611-32893-1-git-send-email-agraf@suse.de> <52F485C5.1020107@msgid.tls.msk.ru> <0C8B4C82-8DB7-4B5E-81F0-0C321856BB70@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0C8B4C82-8DB7-4B5E-81F0-0C321856BB70@suse.de> Subject: Re: [Qemu-devel] [PATCH] net: Include iov.h in checksum.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: Dmitry Fleytman , qemu-trivial , Alexander Graf , Anthony Liguori , "qemu-devel@nongnu.org" 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 header so that the compiler > >> 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 :) Yes, please take one of them via -trivial. Stefan