Append plist.h to idevice header

This commit is contained in:
Jackson Coxson
2025-08-12 08:05:02 -06:00
parent 4c9977157b
commit 0e4f12f0bf
2 changed files with 9 additions and 5 deletions

View File

@@ -73,6 +73,10 @@ pub struct ReadWriteOpaque {
pub struct IdeviceHandle(pub Idevice);
pub struct IdeviceSocketHandle(IdeviceSocket);
/// Stub to avoid header problems
#[allow(non_camel_case_types)]
pub type plist_t = *mut std::ffi::c_void;
// https://github.com/mozilla/cbindgen/issues/539
#[allow(non_camel_case_types, unused)]
struct sockaddr;