diff options
Diffstat (limited to 'spice/stats.h')
-rw-r--r-- | spice/stats.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spice/stats.h b/spice/stats.h index 452d89e..46bbfed 100644 --- a/spice/stats.h +++ b/spice/stats.h @@ -31,11 +31,12 @@ #ifndef _H_SPICE_STATS #define _H_SPICE_STATS +#include <spice/macros.h> #include <spice/types.h> #define SPICE_STAT_SHM_NAME "/spice.%u" #define SPICE_STAT_NODE_NAME_MAX 20 -#define SPICE_STAT_MAGIC (*(uint32_t*)"STAT") +#define SPICE_STAT_MAGIC SPICE_MAGIC_CONST("STAT") #define SPICE_STAT_VERSION 1 enum { |