summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2019-01-06 19:34:04 +0100
committerChristian Beier <dontmind@freeshell.org>2019-01-06 19:34:04 +0100
commitd3a4292aa9ade2a335e0915523506b73e94251d7 (patch)
treeb8ff4073168d695643454a85950bd3fffb180674
parent14c24e2bcc05578e37dfd64b6efe73774a288c90 (diff)
downloadlibtdevnc-d3a4292aa9ade2a335e0915523506b73e94251d7.tar.gz
libtdevnc-d3a4292aa9ade2a335e0915523506b73e94251d7.zip
Move pipe_notify_client_thread to end of rfbClientRec
in order to retain ABI compatibility.
-rw-r--r--rfb/rfb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 9c60f3d..2a5600e 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -465,7 +465,6 @@ typedef struct _rfbClientRec {
int protocolMinorVersion;
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
- int pipe_notify_client_thread[2];
pthread_t client_thread;
#endif
@@ -692,6 +691,9 @@ typedef struct _rfbClientRec {
rfbSslCtx *sslctx;
wsCtx *wsctx;
char *wspath; /* Requests path component */
+#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
+ int pipe_notify_client_thread[2];
+#endif
} rfbClientRec, *rfbClientPtr;
/**