summaryrefslogtreecommitdiffstats
path: root/include/VBox/intnet.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:52 +0000
commitcd47c2446f1a9dee96610f298989848f8986a8be (patch)
tree02c30d62a9164987d0aaba2f72c58a50053205d6 /include/VBox/intnet.h
parentReleasing progress-linux version 7.0.14-dfsg-4~progress7.99u1. (diff)
downloadvirtualbox-cd47c2446f1a9dee96610f298989848f8986a8be.tar.xz
virtualbox-cd47c2446f1a9dee96610f298989848f8986a8be.zip
Merging upstream version 7.0.16-dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/VBox/intnet.h')
-rw-r--r--include/VBox/intnet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/VBox/intnet.h b/include/VBox/intnet.h
index 815143ff..2e593067 100644
--- a/include/VBox/intnet.h
+++ b/include/VBox/intnet.h
@@ -355,7 +355,8 @@ typedef struct INTNETSG
/** The number of segments actually used. */
uint16_t cSegsUsed;
/** Variable sized list of segments. */
- INTNETSEG aSegs[1];
+ RT_FLEXIBLE_ARRAY_EXTENSION
+ INTNETSEG aSegs[RT_FLEXIBLE_ARRAY];
} INTNETSG;
AssertCompileSizeAlignment(INTNETSG, 8);
/** Pointer to a scatter / gather list. */