19 lines
453 B
Text
19 lines
453 B
Text
|
From a48b0b1cd887d7f3ae67f525d7d334bd2feffe60 Mon Sep 17 00:00:00 2001
|
||
|
From: Alexander Tsoy <alexander@tsoy.me>
|
||
|
Date: Tue, 28 Jan 2020 22:21:01 +0300
|
||
|
Subject: [PATCH] Fix build with -fno-common
|
||
|
|
||
|
Index: src/util.c
|
||
|
--- src/util.c.orig
|
||
|
+++ src/util.c
|
||
|
@@ -47,6 +47,9 @@ int hxl = 0;
|
||
|
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
|
||
|
MUTEX(x11Mutex);
|
||
|
MUTEX(scrollMutex);
|
||
|
+MUTEX(clientMutex);
|
||
|
+MUTEX(inputMutex);
|
||
|
+MUTEX(pointerMutex);
|
||
|
#endif
|
||
|
|
||
|
int nfix(int i, int n);
|