summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-28 21:51:04 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-28 21:51:04 +0100
commitc5297bd47d5307a36eaf3f059fcb36c20c8a43b3 (patch)
tree1dc7c2005698073882e92fddfe7406bb8e310861 /libvncserver
parent2300efd39629df1d5be9d7b2ffc03027ed5c7e17 (diff)
downloadlibtdevnc-c5297bd47d5307a36eaf3f059fcb36c20c8a43b3.tar.gz
libtdevnc-c5297bd47d5307a36eaf3f059fcb36c20c8a43b3.zip
Fix building websockets with GnuTLS.
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/rfbcrypto.h6
1 files 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 <sys/uio.h>
-
#define SHA1_HASH_SIZE 20
#define MD5_HASH_SIZE 16
+#ifdef LIBVNCSERVER_HAVE_SYS_UIO_H
+#include <sys/uio.h>
+
void digestmd5(const struct iovec *iov, int iovcnt, void *dest);
void digestsha1(const struct iovec *iov, int iovcnt, void *dest);
#endif