Browse Source

ui/vnc-palette.c: Include headers it needs

Include:
 - <glib.h> for g_malloc0()
 - <string.h> 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 <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
pull/10/head
Eduardo Habkost 14 years ago
committed by Andreas Färber
parent
commit
90f0cfa410
  1. 2
      ui/vnc-palette.c

2
ui/vnc-palette.c

@ -27,6 +27,8 @@
*/
#include "vnc-palette.h"
#include <glib.h>
#include <string.h>
static VncPaletteEntry *palette_find(const VncPalette *palette,
uint32_t color, unsigned int hash)

Loading…
Cancel
Save