diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2012-10-23 21:19:18 -0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-12-06 09:17:05 +0100 |
commit | 90f0cfa410544727ac4e9c130f9e5032e1fb9b71 (patch) | |
tree | 7ab65c399b06ac9f7e442226fde2d633d0c2d344 /ui/vnc-palette.c | |
parent | ee9baa00f2623f1f627913f62d60f2888286319a (diff) | |
download | qemu-90f0cfa410544727ac4e9c130f9e5032e1fb9b71.zip qemu-90f0cfa410544727ac4e9c130f9e5032e1fb9b71.tar.gz qemu-90f0cfa410544727ac4e9c130f9e5032e1fb9b71.tar.bz2 |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <glib.h> +#include <string.h> static VncPaletteEntry *palette_find(const VncPalette *palette, uint32_t color, unsigned int hash) |