summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spice/qxl_dev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index ce9c61f..354008d 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -154,14 +154,14 @@ typedef struct SPICE_ATTR_PACKED QXLModes {
} QXLModes;
/* qxl-1 compat: append only */
-enum QXLCmdType {
+typedef enum QXLCmdType {
QXL_CMD_NOP,
QXL_CMD_DRAW,
QXL_CMD_UPDATE,
QXL_CMD_CURSOR,
QXL_CMD_MESSAGE,
QXL_CMD_SURFACE,
-};
+} QXLCmdType;
/* qxl-1 compat: fixed */
typedef struct SPICE_ATTR_PACKED QXLCommand {