Fix -no-feature-sharedmemory
Pick-to: 6.6 Fixes: QTBUG-114779 Change-Id: I7acf9bc2ba461fe1644c4ff6a157f88c9cce84c4 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
d4cccd0471
commit
514a6776e1
@ -10,6 +10,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#if QT_CONFIG(sharedmemory)
|
||||
#if QT_CONFIG(posix_shm)
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
@ -192,3 +193,4 @@ bool QSharedMemoryPosix::detach(QSharedMemoryPrivate *self)
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_CONFIG(posix_shm)
|
||||
#endif // QT_CONFIG(sharedmemory)
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#if QT_CONFIG(sharedmemory)
|
||||
#if QT_CONFIG(sysv_shm)
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
@ -205,3 +206,4 @@ bool QSharedMemorySystemV::detach(QSharedMemoryPrivate *self)
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_CONFIG(sysv_shm)
|
||||
#endif // QT_CONFIG(sharedmemory)
|
||||
|
Loading…
Reference in New Issue
Block a user