From f8f7500168c94330e094aebfa38798d949466328 Mon Sep 17 00:00:00 2001 From: Furkan Onder Date: Fri, 6 Sep 2024 03:09:04 +0300 Subject: gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 (#123719) Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 in Lib_Memzero0.c. --- Misc/sbom.spdx.json | 4 ++-- Modules/_hacl/Lib_Memzero0.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Misc/sbom.spdx.json b/Misc/sbom.spdx.json index 1013c0a..05647c1 100644 --- a/Misc/sbom.spdx.json +++ b/Misc/sbom.spdx.json @@ -538,11 +538,11 @@ "checksums": [ { "algorithm": "SHA1", - "checksumValue": "e52071a35fc1893928804fe91b098ad5682c2508" + "checksumValue": "47ce34375d43a27312e1fffb96b8965610b05855" }, { "algorithm": "SHA256", - "checksumValue": "c4424a4851cd2d4f27633ca19faf5cb1135a680443727a8d1b134737f9a71e62" + "checksumValue": "8affd767d7644150064d8bccd05d7bf4c4ae41fd4bb5bf5b8e943eabf09f3d74" } ], "fileName": "Modules/_hacl/Lib_Memzero0.c" diff --git a/Modules/_hacl/Lib_Memzero0.c b/Modules/_hacl/Lib_Memzero0.c index 3d8a1e5..5b1a2f7 100644 --- a/Modules/_hacl/Lib_Memzero0.c +++ b/Modules/_hacl/Lib_Memzero0.c @@ -13,7 +13,7 @@ #include #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) #include #endif -- cgit v0.12