| Index: device/serial/serial_device_enumerator_mac.cc
|
| diff --git a/device/serial/serial_device_enumerator_mac.cc b/device/serial/serial_device_enumerator_mac.cc
|
| index 671555d6536060e7ecf81c2133cca84c4a6d1d32..3a81f1d175b6da230c05d840ca9f332ac3138dd3 100644
|
| --- a/device/serial/serial_device_enumerator_mac.cc
|
| +++ b/device/serial/serial_device_enumerator_mac.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <IOKit/serial/IOSerialKeys.h>
|
| #include <IOKit/usb/IOUSBLib.h>
|
| +#include <stdint.h>
|
|
|
| #include <algorithm>
|
|
|
| @@ -72,9 +73,9 @@ bool GetStringProperty(io_service_t service,
|
| return false;
|
| }
|
|
|
| -// Searches the specified service for a uint16 property with the specified key,
|
| -// sets value to that property's value, and returns whether the operation was
|
| -// successful.
|
| +// Searches the specified service for a uint16_t property with the specified
|
| +// key, sets value to that property's value, and returns whether the operation
|
| +// was successful.
|
| bool GetUInt16Property(io_service_t service,
|
| const CFStringRef key,
|
| uint16_t* value) {
|
|
|