Przeglądaj źródła

vnc-palette.h: Include <stdbool.h>

<stdbool.h> is needed for the 'bool' type, used in the header.

The header is probably being included by accident because some other
headers are 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>
Eduardo Habkost 13 lat temu
rodzic
commit
bcbb78c6b6
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      ui/vnc-palette.h

+ 1 - 0
ui/vnc-palette.h

@@ -32,6 +32,7 @@
 #include "qlist.h"
 #include "qemu-queue.h"
 #include <stdint.h>
+#include <stdbool.h>
 
 #define VNC_PALETTE_HASH_SIZE 256
 #define VNC_PALETTE_MAX_SIZE  256