summaryrefslogtreecommitdiff
path: root/skip/qt5-qtwebengine/qt-musl-off_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'skip/qt5-qtwebengine/qt-musl-off_t.patch')
-rw-r--r--skip/qt5-qtwebengine/qt-musl-off_t.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/skip/qt5-qtwebengine/qt-musl-off_t.patch b/skip/qt5-qtwebengine/qt-musl-off_t.patch
new file mode 100644
index 0000000..6b44789
--- /dev/null
+++ b/skip/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)