Received: from eggs.gnu.org ([2001:4830:134:3::10]:57720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmihQ-0004Vt-Tf for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:03:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmihL-0004gh-7c for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:03:48 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:33060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmihL-0004gM-0Y for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:03:43 -0400 Message-ID: <553E33AE.1040804@msgid.tls.msk.ru> Date: Mon, 27 Apr 2015 16:03:42 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1430130858-8246-1-git-send-email-pbonzini@redhat.com> <553E2D4F.80209@msgid.tls.msk.ru> <553E32F0.2010405@redhat.com> <553E3322.6020803@msgid.tls.msk.ru> In-Reply-To: <553E3322.6020803@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] libcacard: stop including qemu-common.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel 27.04.2015 16:01, Michael Tokarev =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > 27.04.2015 16:00, Paolo Bonzini wrote: >> On 27/04/2015 14:36, Michael Tokarev wrote: >>>> This is a small step towards making libcacard standalone. >>> No, this does not build, it complains about printf everywhere >>> and some other things, like atoi. I'll try to make it better, >>> and maybe to omit glib-compat inclusion too from some places. >> >> Weird, it builds here. Must be a different glib. >=20 > All the missing includes are in vscclient.c. stdio.h for printf string.h for various strcmp etc stdlib.h for atoi unistd.h (on *nix) for getopt It looks like you didn't build vscclient.