summaryrefslogtreecommitdiffstats
path: root/include/VBox/sup.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/VBox/sup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/VBox/sup.h b/include/VBox/sup.h
index 877d0b38..0b718f7c 100644
--- a/include/VBox/sup.h
+++ b/include/VBox/sup.h
@@ -561,7 +561,8 @@ typedef struct SUPGLOBALINFOPAGE
* is SUPGIPMODE_ASYNC_TSC. If @c u32Mode is SUPGIPMODE_SYNC_TSC only the first
* entry is updated. If @c u32Mode is SUPGIPMODE_SYNC_TSC the TSC frequency in
* @c u64CpuHz is copied to all CPUs. */
- SUPGIPCPU aCPUs[1];
+ RT_FLEXIBLE_ARRAY_EXTENSION
+ SUPGIPCPU aCPUs[RT_FLEXIBLE_ARRAY];
} SUPGLOBALINFOPAGE;
AssertCompileMemberAlignment(SUPGLOBALINFOPAGE, u64NanoTSLastUpdateHz, 8);
AssertCompileMemberAlignment(SUPGLOBALINFOPAGE, OnlineCpuSet, 64);