summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbcrypto.h
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-28 21:02:11 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-28 21:02:11 +0100
commit73684172397d63c4274d7fbdf940f428cf31744c (patch)
treee76a49de1af950fece3cf88c30b2fe3e3dfa736a /libvncserver/rfbcrypto.h
parent37f293d58873114fc02a4df4081ba9936da1fd71 (diff)
downloadlibtdevnc-73684172397d63c4274d7fbdf940f428cf31744c.tar.gz
libtdevnc-73684172397d63c4274d7fbdf940f428cf31744c.zip
Various #ifdef fixes to allow building with MSVC2014
Diffstat (limited to 'libvncserver/rfbcrypto.h')
-rw-r--r--libvncserver/rfbcrypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/rfbcrypto.h b/libvncserver/rfbcrypto.h
index 9dc3e63..7853154 100644
--- a/libvncserver/rfbcrypto.h
+++ b/libvncserver/rfbcrypto.h
@@ -1,6 +1,7 @@
#ifndef _RFB_CRYPTO_H
#define _RFB_CRYPTO_H 1
+#ifdef LIBVNCSERVER_HAVE_UIO_H
#include <sys/uio.h>
#define SHA1_HASH_SIZE 20
@@ -8,5 +9,6 @@
void digestmd5(const struct iovec *iov, int iovcnt, void *dest);
void digestsha1(const struct iovec *iov, int iovcnt, void *dest);
+#endif
#endif