diff options
author | magenbluten <mb@64k.by> | 2020-06-16 16:56:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-18 12:53:01 +0200 |
commit | 639ff12af754d024a562925a52406ace0d3c673b (patch) | |
tree | 8eb6db32cb99a6ab659440c5bb5e3f66ad86e34b /libbutl/sha256c.c | |
parent | e1da4d682173d6adbc0e5c99ec1b3c8c9a948957 (diff) |
Add NetBSD compatibility
Diffstat (limited to 'libbutl/sha256c.c')
-rw-r--r-- | libbutl/sha256c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/sha256c.c b/libbutl/sha256c.c index 2db0363..c98dd10 100644 --- a/libbutl/sha256c.c +++ b/libbutl/sha256c.c @@ -68,7 +68,7 @@ main () #endif /* SHA256_TEST_DRIVER */ -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) # include <sys/endian.h> /* BYTE_ORDER, be32dec(), be32enc(), be64enc */ #else # if defined(_WIN32) |