aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-20 15:44:08 +0200
committerStefan Boberg <[email protected]>2025-10-20 15:44:08 +0200
commit15e3af037ca22015d8f4ddf6b85b4bf71998632a (patch)
tree05c88fd1581956327f6971c0ee28aacd362da71b
parentdisable vla-cxx-extension (diff)
downloadzen-sb/fix-vla-warn.tar.xz
zen-sb/fix-vla-warn.zip
added include to fix error with references to size_tsb/fix-vla-warn
-rw-r--r--src/zencore/include/zencore/memory/fmalloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/memory/fmalloc.h b/src/zencore/include/zencore/memory/fmalloc.h
index aeb05b651..8dfb7953b 100644
--- a/src/zencore/include/zencore/memory/fmalloc.h
+++ b/src/zencore/include/zencore/memory/fmalloc.h
@@ -4,6 +4,8 @@
#include <zenbase/zenbase.h>
+#include <stddef.h> // for size_t (don't want to spam the code with std::size_t)
+
namespace zen {
enum