summaryrefslogtreecommitdiffstats
path: root/third_party/libusb/libusb.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libusb/libusb.gyp')
-rw-r--r--third_party/libusb/libusb.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp
index 85f5230..1b0aa56 100644
--- a/third_party/libusb/libusb.gyp
+++ b/third_party/libusb/libusb.gyp
@@ -67,6 +67,11 @@
'_GNU_SOURCE=1',
],
}],
+ ['chromeos==1', {
+ 'defines': [
+ 'USBI_TIMERFD_AVAILABLE',
+ ]
+ }],
['use_udev==1', {
'sources': [
'src/libusb/os/linux_udev.cc',