From 106cb1eadf183ffcd5de03fb0f2962889fda50cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Ondr=C3=A1=C4=8Dek?= Date: Thu, 30 Jan 2025 03:00:45 +0100 Subject: [PATCH] Fix build on GNU Hurd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roman Ondráček --- src/SHA1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/SHA1.c b/src/SHA1.c index 98fcc443..5c4c3496 100644 --- a/src/SHA1.c +++ b/src/SHA1.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2018 Wind River Systems, Inc. All Rights Reserved. + * Copyright (c) 2018, 2025 Wind River Systems, Inc. and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 @@ -51,9 +51,8 @@ int SHA1_Final(unsigned char *md, SHA_CTX *c) CryptReleaseContext(c->hProv, 0); return rv; } - #else /* if defined(_WIN32) */ -#if defined(__linux__) || defined(__CYGWIN__) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) # include #elif defined(__APPLE__) # include