openbsd-ports/misc/zzuf/patches/patch-src_util_md5_c
mmcc a9738aeb88 Update to 0.14.
ok sthen@, zhuk@
2015-11-19 00:55:23 +00:00

15 lines
427 B
Plaintext

$OpenBSD: patch-src_util_md5_c,v 1.1 2015/11/19 00:55:23 mmcc Exp $
--- src/util/md5.c.orig Sat May 30 10:30:00 2015
+++ src/util/md5.c Wed Nov 18 00:05:36 2015
@@ -24,6 +24,10 @@
#endif
#if defined HAVE_ENDIAN_H
# include <endian.h>
+# if !defined(__BYTE_ORDER)
+# define __BYTE_ORDER BYTE_ORDER
+# define __LITTLE_ENDIAN LITTLE_ENDIAN
+# endif
#endif
#include <string.h>
#include <stdlib.h>