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; /**