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:12:49 +0100 |
commit | b7be699a0982bb35f229337616bb24795d4762ed (patch) | |
tree | 4287d7811589608e405459e692d06bd1bd71a7dc /src | |
parent | 4e83f4f200f4832280808796694495ebb20070b6 (diff) | |
download | tqt3-b7be699a0982bb35f229337616bb24795d4762ed.tar.gz tqt3-b7be699a0982bb35f229337616bb24795d4762ed.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]>
Diffstat (limited to 'src')
-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 f8b8be467..948e7602f 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) |