libedgetpu: fix building with GCC 15
This commit is contained in:
@@ -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 <cstdint>
|
||||
+
|
||||
#include "port/array_slice.h"
|
||||
#include "port/integral_types.h"
|
||||
#include "port/status.h"
|
||||
@@ -42,6 +42,7 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-mMODpQmikfXtsQvtgh26cy97EiykYNLngSjidOBt/3I=";
|
||||
})
|
||||
./fix-abseil-20250512.0.patch
|
||||
./cstdint.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user