summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h2
-rw-r--r--rfb/rfbproto.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index c99f4f9..8759b0e 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -157,6 +157,7 @@ typedef struct _rfbClient {
#endif
+#ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/*
* Variables for the ``tight'' encoding implementation.
@@ -184,6 +185,7 @@ typedef struct _rfbClient {
size_t jpegBufferLen;
#endif
+#endif
/* cursor.c */
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index 60ba763..cadbce4 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -905,7 +905,7 @@ typedef struct _rfbFileTransferMsg {
uint8_t contentType; /* See defines below */
uint16_t contentParam;/* Other possible content classification (Dir or File name, etc..) */
uint32_t size; /* FileSize or packet index or error or other */
- /* uint32_t sizeH; // Additional 32Bits params to handle big values. Only for V2 (we want backward compatibility between all V1 versions) */
+ /* uint32_t sizeH; Additional 32Bits params to handle big values. Only for V2 (we want backward compatibility between all V1 versions) */
uint32_t length;
/* followed by data char text[length] */
} rfbFileTransferMsg;