aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtwebengine/qt-musl-serialio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt5-qtwebengine/qt-musl-serialio.patch')
-rw-r--r--community/qt5-qtwebengine/qt-musl-serialio.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/qt5-qtwebengine/qt-musl-serialio.patch b/community/qt5-qtwebengine/qt-musl-serialio.patch
new file mode 100644
index 0000000000..cf0e0fa768
--- /dev/null
+++ b/community/qt5-qtwebengine/qt-musl-serialio.patch
@@ -0,0 +1,12 @@
+--- qtwebengine/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc 2017-01-03 10:28:53.000000000 +0100
++++ qtwebengine/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc 2017-02-23 21:20:42.650669563 +0100
+@@ -12,6 +12,9 @@
+
+ #if defined(OS_LINUX)
+ #include <linux/serial.h>
++#if !defined(__GLIBC__)
++#include <asm-generic/ioctls.h>
++#endif
+
+ // The definition of struct termios2 is copied from asm-generic/termbits.h
+ // because including that header directly conflicts with termios.h.