packages/net/ez-ipupdate/patches/005-endian-detection.patch
jow 928acbe600 ez-ipudate: fix broken endian detection on uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 12:01:33 +00:00

12 lines
207 B
Diff

--- a/md5.c
+++ b/md5.c
@@ -35,7 +35,7 @@
#include "md5.h"
-#ifdef _LIBC
+#if defined(_LIBC) || defined(__UCLIBC__)
# include <endian.h>
# if __BYTE_ORDER == __BIG_ENDIAN
# define WORDS_BIGENDIAN 1