aboutsummaryrefslogtreecommitdiffstats
path: root/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'md5.c')
-rwxr-xr-xmd5.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/md5.c b/md5.c
index bdbb03ff7..abb277ac0 100755
--- a/md5.c
+++ b/md5.c
@@ -1,6 +1,10 @@
/* MD5 checksum routines used for authentication. Not covered by GPL, but
in the public domain as per the copyright below */
-#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
+#if defined( __OpenBSD__ )
+# include <machine/types.h>
+# include <sys/endian.h>
+#elif defined( __FreeBSD__ )
+# include <sys/types.h>
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 )
# include <machine/endian.h>