From patchwork Fri Nov 9 14:56:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [09/24] ui/vnc-pallete.c: include headers it needs X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 198106 Message-Id: <1352473012-20500-10-git-send-email-ehabkost@redhat.com> 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?= Date: Fri, 9 Nov 2012 12:56:37 -0200 From: Eduardo Habkost List-Id: 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 Acked-by: Andreas Färber --- 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)