diff --git a/pkgs/by-name/li/libedgetpu/cstdint.patch b/pkgs/by-name/li/libedgetpu/cstdint.patch new file mode 100644 index 000000000000..a27eb2ba1125 --- /dev/null +++ b/pkgs/by-name/li/libedgetpu/cstdint.patch @@ -0,0 +1,13 @@ +diff --git a/driver/usb/usb_device_interface.h b/driver/usb/usb_device_interface.h +index 238bca9..54f2f6e 100644 +--- a/driver/usb/usb_device_interface.h ++++ b/driver/usb/usb_device_interface.h +@@ -15,6 +15,8 @@ + #ifndef DARWINN_DRIVER_USB_USB_DEVICE_INTERFACE_H_ + #define DARWINN_DRIVER_USB_USB_DEVICE_INTERFACE_H_ + ++#include ++ + #include "port/array_slice.h" + #include "port/integral_types.h" + #include "port/status.h" diff --git a/pkgs/by-name/li/libedgetpu/package.nix b/pkgs/by-name/li/libedgetpu/package.nix index ef4e2368ea42..fc5911ffb120 100644 --- a/pkgs/by-name/li/libedgetpu/package.nix +++ b/pkgs/by-name/li/libedgetpu/package.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation { hash = "sha256-mMODpQmikfXtsQvtgh26cy97EiykYNLngSjidOBt/3I="; }) ./fix-abseil-20250512.0.patch + ./cstdint.patch ]; postPatch = ''