From b40a7a3bb892c418e366a70912bb2f6bced2e9e0 Mon Sep 17 00:00:00 2001 From: Athma Sagar Date: Sat, 8 Aug 2026 09:46:15 -0700 Subject: [PATCH] Include for uint32_t in numpy_support.h Summary: This diff adds `#include ` to `numpy_support.h`. The header declares `load_npy_compressed(const char*, uint32_t, uint32_t)` but relied on `uint32_t` arriving transitively through ``, ``, or `` rather than including the standard header that defines it. That transitive path is not guaranteed and is not provided under newer GCC/libstdc++ toolchains, where the translation unit fails to compile with `'uint32_t' has not been declared`. Including `` directly makes the header self-contained and it compiles cleanly across toolchains. Differential Revision: D115313605 --- src/spdl/io/lib/archive/numpy_support.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spdl/io/lib/archive/numpy_support.h b/src/spdl/io/lib/archive/numpy_support.h index 835f78a5c..bc4a9c7c3 100644 --- a/src/spdl/io/lib/archive/numpy_support.h +++ b/src/spdl/io/lib/archive/numpy_support.h @@ -8,6 +8,7 @@ #pragma once +#include #include #include #include