From 18bed2c174362f76ddedf68bb700e8b2c817fcb5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jun 2020 14:09:59 +0200 Subject: Complete NetBSD compatibility --- libbutl/sha256c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbutl/sha256c.c') diff --git a/libbutl/sha256c.c b/libbutl/sha256c.c index c98dd10..348fb44 100644 --- a/libbutl/sha256c.c +++ b/libbutl/sha256c.c @@ -123,7 +123,7 @@ be64enc(void *pp, uint64_t u) p[6] = (u >> 8) & 0xff; p[7] = u & 0xff; } -#endif /* __FreeBSD__ */ +#endif /* __FreeBSD__ || __NetBSD__ */ /* The rest is the unmodified (except for a few explicit casts to make compilable in C++) latest implementation from FreeBSD sys/crypto/sha2/. */ -- cgit v1.1