Files
BMLFS/patches/qtwebengine-alpine/qt-musl-off_t.patch

11 lines
382 B
Diff

--- 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)