From c5297bd47d5307a36eaf3f059fcb36c20c8a43b3 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Sat, 28 Jan 2017 21:51:04 +0100 Subject: [PATCH] Fix building websockets with GnuTLS. --- libvncserver/rfbcrypto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libvncserver/rfbcrypto.h b/libvncserver/rfbcrypto.h index 9c9e4e0..fec095e 100644 --- a/libvncserver/rfbcrypto.h +++ b/libvncserver/rfbcrypto.h @@ -3,12 +3,12 @@ #include "rfb/rfbconfig.h" -#ifdef LIBVNCSERVER_HAVE_SYS_UIO_H -#include - #define SHA1_HASH_SIZE 20 #define MD5_HASH_SIZE 16 +#ifdef LIBVNCSERVER_HAVE_SYS_UIO_H +#include + void digestmd5(const struct iovec *iov, int iovcnt, void *dest); void digestsha1(const struct iovec *iov, int iovcnt, void *dest); #endif