From b7be699a0982bb35f229337616bb24795d4762ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 16 Feb 2019 19:12:49 +0100 Subject: [PATCH] Add the definition _WANT_SEMUN to ensure the definition of the semun structure. This resolves bug 2991. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Nikolaus Klepp for initial patch. Signed-off-by: Slávek Banko --- src/kernel/qlock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kernel/qlock.cpp b/src/kernel/qlock.cpp index f8b8be46..948e7602 100644 --- a/src/kernel/qlock.cpp +++ b/src/kernel/qlock.cpp @@ -47,6 +47,7 @@ #include #include #else +#define _WANT_SEMUN #include #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) \ || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_BSDI)