summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-device_gamepad_hid_writer_linux_cc
blob: 0f8dfd60efa938198e5010de087431ea25c40297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$OpenBSD: patch-device_gamepad_hid_writer_linux_cc,v 1.1 2019/11/05 22:30:27 robert Exp $

Index: device/gamepad/hid_writer_linux.cc
--- device/gamepad/hid_writer_linux.cc.orig
+++ device/gamepad/hid_writer_linux.cc
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include <unistd.h>
+
 #include "device/gamepad/hid_writer_linux.h"
 
 #include "base/posix/eintr_wrapper.h"