From: Furkan Onder Date: Fri, 6 Sep 2024 00:09:04 +0000 (+0300) Subject: gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 (#123719) X-Git-Tag: v3.14.0a1~571 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f7500168c94330e094aebfa38798d949466328;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Misc/sbom.spdx.json b/Misc/sbom.spdx.json index 1013c0ad6f16..05647c1fe417 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 3d8a1e5f2656..5b1a2f7797db 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