aboutsummaryrefslogtreecommitdiff
path: root/libbutl/sha256c.c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-18 14:09:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-18 14:09:59 +0200
commit18bed2c174362f76ddedf68bb700e8b2c817fcb5 (patch)
tree463c4a495386c9ec1869f4434367bfcfc43ea884 /libbutl/sha256c.c
parent639ff12af754d024a562925a52406ace0d3c673b (diff)
Complete NetBSD compatibility
Diffstat (limited to 'libbutl/sha256c.c')
-rw-r--r--libbutl/sha256c.c2
1 files changed, 1 insertions, 1 deletions
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/. */