diff options
author | Furkan Onder <furkanonder@protonmail.com> | 2024-09-06 00:09:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 00:09:04 (GMT) |
commit | f8f7500168c94330e094aebfa38798d949466328 (patch) | |
tree | 35b6da6d541c48b1513f1a46b5a85232d996c7ea | |
parent | 84ad264ce602fb263a46a4536377bdc830eea81e (diff) | |
download | cpython-f8f7500168c94330e094aebfa38798d949466328.zip cpython-f8f7500168c94330e094aebfa38798d949466328.tar.gz cpython-f8f7500168c94330e094aebfa38798d949466328.tar.bz2 |
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.
-rw-r--r-- | Misc/sbom.spdx.json | 4 | ||||
-rw-r--r-- | 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 <string.h> #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) #include <strings.h> #endif |