summaryrefslogtreecommitdiffstats
path: root/src/kernel/qlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qlock.cpp')
-rw-r--r--src/kernel/qlock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/qlock.cpp b/src/kernel/qlock.cpp
index 56faa1d..02dfd76 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)