aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-palette.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-10-23 21:19:18 -0200
committerAndreas Färber <afaerber@suse.de>2012-12-06 09:17:05 +0100
commit90f0cfa410544727ac4e9c130f9e5032e1fb9b71 (patch)
tree7ab65c399b06ac9f7e442226fde2d633d0c2d344 /ui/vnc-palette.c
parentee9baa00f2623f1f627913f62d60f2888286319a (diff)
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>
Diffstat (limited to 'ui/vnc-palette.c')
-rw-r--r--ui/vnc-palette.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/vnc-palette.c b/ui/vnc-palette.c
index 63d5f64917..c130deee9d 100644
--- a/ui/vnc-palette.c
+++ b/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)