Add sys/types.h include to fix build with musl
This amends c82ed8b279.
Pick-to: 6.7
Fixes: QTBUG-120766
Change-Id: I2584c62d35c6ee0a9c8687a476f7eab52bd52af2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
parent
a05abede68
commit
72ee1df260
|
|
@ -24,7 +24,6 @@
|
|||
#include <QtCore/private/qlocale_tools_p.h>
|
||||
|
||||
#include <sys/sysmacros.h> // makedev()
|
||||
#include <sys/types.h> // dev_t
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@
|
|||
#include <QtCore/private/qglobal_p.h>
|
||||
#include "qstorageinfo.h"
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
#include <sys/types.h> // dev_t
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
inline Q_LOGGING_CATEGORY(lcStorageInfo, "qt.core.qstorageinfo", QtWarningMsg)
|
||||
|
|
|
|||
Loading…
Reference in New Issue