21 lines
584 B
Text
21 lines
584 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.h
|
|
--- src/util.h.orig
|
|
+++ src/util.h
|
|
@@ -102,9 +102,9 @@ extern struct timeval _mysleep;
|
|
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
|
|
extern MUTEX(x11Mutex);
|
|
extern MUTEX(scrollMutex);
|
|
-MUTEX(clientMutex);
|
|
-MUTEX(inputMutex);
|
|
-MUTEX(pointerMutex);
|
|
+extern MUTEX(clientMutex);
|
|
+extern MUTEX(inputMutex);
|
|
+extern MUTEX(pointerMutex);
|
|
#endif
|
|
|
|
#define X_INIT INIT_MUTEX(x11Mutex)
|