pmaports/main/qt5-qtwebengine/patches-musl/0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch

22 lines
845 B
Diff

From f2e66acda4934e4c0f56a58ba107cc208f09b7ef Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 7 Jul 2017 17:15:34 -0700
Subject: [PATCH] chromium: musl: include asm-generic/ioctl.h for TCGETS2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
chromium/device/serial/serial_io_handler_posix.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc b/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc
index a2ca2e2309..e139cdf9e9 100644
--- a/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc
+++ b/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc
@@ -6,6 +6,7 @@
#include <sys/ioctl.h>
#include <termios.h>
+#include <asm-generic/ioctls.h>
#include "base/files/file_util.h"
#include "base/posix/eintr_wrapper.h"