From d3a4292aa9ade2a335e0915523506b73e94251d7 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Sun, 6 Jan 2019 19:34:04 +0100 Subject: Move pipe_notify_client_thread to end of rfbClientRec in order to retain ABI compatibility. --- rfb/rfb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rfb') 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; /** -- cgit v1.2.1