strobealign: fix build with gcc 15

This commit is contained in:
Harinn
2026-05-08 14:55:50 +07:00
parent a88046bb32
commit 6402fc286f
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,12 @@
diff --git a/ext/robin_hood.h b/ext/robin_hood.h
index a8f3a78..1c1b1d8 100644
--- a/ext/robin_hood.h
+++ b/ext/robin_hood.h
@@ -41,6 +41,7 @@
#include <algorithm>
#include <cstdlib>
+#include <cstdint>
#include <cstring>
#include <functional>
#include <memory> // only to support hash of smart pointers
+4
View File
@@ -18,6 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-ah21ptyfZbgdJrtCCftYhGh1hfcJ9JpXNsXUp8pZDJw=";
};
patches = [
./include-cstdint.patch
];
nativeBuildInputs = [
cmake
pkg-config