qt5: fix gcc6 musl build

This commit is contained in:
Juergen Buchmueller 2016-10-01 15:26:32 +02:00
parent 0e062cee61
commit 653b843aca

View file

@ -0,0 +1,10 @@
--- qtwebengine/src/3rdparty/chromium/third_party/ots/include/opentype-sanitiser.h 2016-05-26 14:58:54.000000000 +0200
+++ qtwebengine/src/3rdparty/chromium/third_party/ots/include/opentype-sanitiser.h 2016-10-01 14:31:30.885000000 +0200
@@ -21,6 +21,7 @@
#define htons(x) _byteswap_ushort (x)
#else
#include <arpa/inet.h>
+#include <sys/types.h>
#include <stdint.h>
#endif