Received: from eggs.gnu.org ([208.118.235.92]:47018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrDr-0003TH-2w for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQrDp-0006Hc-SP for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrDp-0006Gg-Ka for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:33 -0400 From: Eduardo Habkost Date: Wed, 24 Oct 2012 01:01:53 -0200 Message-Id: <1351047728-20360-10-git-send-email-ehabkost@redhat.com> In-Reply-To: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> References: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 09/24] ui/vnc-pallete.c: include headers it needs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, riku.voipio@iki.fi, blauwirbel@gmail.com, Anthony Liguori , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= Include: - for g_malloc0() - for memset() Some of those headers were probably being included by accident because some other headers were including qemu-common.h, but those headers should eventually stop including qemu-common.h. Signed-off-by: Eduardo Habkost --- ui/vnc-palette.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/vnc-palette.c b/ui/vnc-palette.c index 63d5f64..c130dee 100644 --- a/ui/vnc-palette.c +++ b/ui/vnc-palette.c @@ -27,6 +27,8 @@ */ #include "vnc-palette.h" +#include +#include static VncPaletteEntry *palette_find(const VncPalette *palette, uint32_t color, unsigned int hash) -- 1.7.11.7