From b7a7c4d120d145e11af0f3860e14be02e977d30d Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 30 Dec 2016 17:11:56 +0100 Subject: Fix building on OSX without SSL. --- common/md5.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'common/md5.c') diff --git a/common/md5.c b/common/md5.c index c3e3fd7..13e47a8 100644 --- a/common/md5.c +++ b/common/md5.c @@ -27,12 +27,11 @@ # include #include "md5.h" +#include "rfb/rfbconfig.h" -/* #ifdef _LIBC */ -# include -# if __BYTE_ORDER == __BIG_ENDIAN +#ifdef LIBVNCSERVER_WORDS_BIGENDIAN # define WORDS_BIGENDIAN 1 -# endif +#endif /* We need to keep the namespace clean so define the MD5 function protected using leading __ . */ # define md5_init_ctx __md5_init_ctx -- cgit v1.2.3