summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtbase')
-rw-r--r--recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch b/recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch
new file mode 100644
index 00000000..81ae28b3
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch
@@ -0,0 +1,30 @@
1From d48cd5f4c46ec4ba129ae8abdfb8707285485933 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 6 Dec 2018 11:47:52 -0800
4Subject: [PATCH] corelib: Include sys/types.h for uint32_t
5
6This has been includes indirectly on glibc/linux systems
7via inttypes.h -> stdint.h -> sys/types.h but it breaks on
8musl where this indirect include chain does not exist.
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/corelib/global/qnumeric_p.h | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/corelib/global/qnumeric_p.h b/src/corelib/global/qnumeric_p.h
17index 5f8a124bcc..fe1711cf1b 100644
18--- a/src/corelib/global/qnumeric_p.h
19+++ b/src/corelib/global/qnumeric_p.h
20@@ -55,6 +55,7 @@
21 #include "QtCore/private/qglobal_p.h"
22 #include <cmath>
23 #include <limits>
24+#include <sys/types.h>
25
26 #if defined(Q_CC_MSVC)
27 # include <intrin.h>
28--
292.19.2
30