diff options
author | Slávek Banko <[email protected]> | 2019-02-16 19:12:49 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-02-16 19:13:45 +0100 |
commit | 07eabff779898c37715ebe97d5a2ee55aa629dd9 (patch) | |
tree | e6baee2f24b4257f65e6f7c32fb36f7e1102991b | |
parent | d90d84170f100b8c7c96b31eb974c91928800850 (diff) | |
download | tqt3-07eabff779898c37715ebe97d5a2ee55aa629dd9.tar.gz tqt3-07eabff779898c37715ebe97d5a2ee55aa629dd9.zip |
Add the definition _WANT_SEMUN to ensure the definition of the semun structure.
This resolves bug 2991.
Thanks to Nikolaus Klepp for initial patch.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit b7be699a0982bb35f229337616bb24795d4762ed)
-rw-r--r-- | src/kernel/qlock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/qlock.cpp b/src/kernel/qlock.cpp index 49edf98ca..f23a0a7f8 100644 --- a/src/kernel/qlock.cpp +++ b/src/kernel/qlock.cpp @@ -47,6 +47,7 @@ #include <sys/stat.h> #include <sys/file.h> #else +#define _WANT_SEMUN #include <sys/sem.h> #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) \ || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_BSDI) |