summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbcrypto.h
diff options
context:
space:
mode:
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