diff --git a/src/corelib/ipc/qsharedmemory.cpp b/src/corelib/ipc/qsharedmemory.cpp index 02761c0263f..e1ce735f895 100644 --- a/src/corelib/ipc/qsharedmemory.cpp +++ b/src/corelib/ipc/qsharedmemory.cpp @@ -12,6 +12,7 @@ #ifdef Q_OS_WIN # include #endif +#include #ifndef MAX_PATH # define MAX_PATH PATH_MAX diff --git a/src/corelib/ipc/qsystemsemaphore.cpp b/src/corelib/ipc/qsystemsemaphore.cpp index 4c24ef6043f..24f4789f975 100644 --- a/src/corelib/ipc/qsystemsemaphore.cpp +++ b/src/corelib/ipc/qsystemsemaphore.cpp @@ -6,6 +6,7 @@ #if QT_CONFIG(systemsemaphore) #include +#include QT_BEGIN_NAMESPACE