summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/rmd160.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/rmd160.c')
-rw-r--r--openbsd-compat/rmd160.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/rmd160.c b/openbsd-compat/rmd160.c
index 2a14dd7b..e915141a 100644
--- a/openbsd-compat/rmd160.c
+++ b/openbsd-compat/rmd160.c
@@ -32,7 +32,9 @@
#ifndef WITH_OPENSSL
#include <sys/types.h>
+#ifdef HAVE_ENDIAN_H
#include <endian.h>
+#endif
#include <string.h>
#include <rmd160.h>