aboutsummaryrefslogtreecommitdiff
path: root/libbutl/sha256c.c
diff options
context:
space:
mode:
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 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)