summaryrefslogtreecommitdiff
path: root/repo/qt5-qtwebengine/qt-musl-off_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/qt5-qtwebengine/qt-musl-off_t.patch')
-rw-r--r--repo/qt5-qtwebengine/qt-musl-off_t.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/repo/qt5-qtwebengine/qt-musl-off_t.patch b/repo/qt5-qtwebengine/qt-musl-off_t.patch
new file mode 100644
index 0000000..6b44789
--- /dev/null
+++ b/repo/qt5-qtwebengine/qt-musl-off_t.patch
@@ -0,0 +1,10 @@
+--- a/src/3rdparty/chromium/third_party/ots/include/opentype-sanitiser.h
++++ b/src/3rdparty/chromium/third_party/ots/include/opentype-sanitiser.h
+@@ -21,6 +21,7 @@ typedef unsigned __int64 uint64_t;
+ #define ots_htons(x) _byteswap_ushort (x)
+ #else
+ #include <arpa/inet.h>
++#include <sys/types.h>
+ #include <stdint.h>
+ #define ots_ntohl(x) ntohl (x)
+ #define ots_ntohs(x) ntohs (x)