- Allow building on non i386/amd64 [1] PR: 200095 Approved by: maintainer timeout (3 weeks) Tested on: ia64 and sparc64 [1]
11 lines
311 B
C
11 lines
311 B
C
--- md5/md5.c.orig 2014-08-30 13:52:09 UTC
|
|
+++ md5/md5.c
|
|
@@ -45,6 +45,8 @@ static void MD5Transform(unsigned int [4
|
|
#include <libkern/OSByteOrder.h>
|
|
#define le32toh(x) OSSwapLittleToHostInt32(x)
|
|
#define htole32(x) OSSwapHostToLittleInt32(x)
|
|
+#elif defined(__FreeBSD__)
|
|
+#include <sys/endian.h>
|
|
#endif
|
|
|
|
/*
|