aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg-turbo/files/patch-md5_md5.c
blob: dfbd0b8b53ad78958e1212ec600eb1fd6ed10529 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- md5/md5.c.orig	2016-09-20 23:36:59 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
 
 /*