modified: frida_core/src/android_tun.rs

This commit is contained in:
Michael Wain 2024-12-10 20:41:17 +03:00
parent f879712c8c
commit b38c596e28

View File

@ -1,6 +1,7 @@
use tokio::fs::File; use tokio::fs::File;
use tokio::io::{AsyncReadExt, AsyncWriteExt}; use tokio::io::{AsyncReadExt, AsyncWriteExt};
use std::error::Error; use std::error::Error;
use std::os::fd::FromRawFd;
pub fn create(cfg: i32) -> (DeviceReader, DeviceWriter) { pub fn create(cfg: i32) -> (DeviceReader, DeviceWriter) {
// check this if android build won't work // check this if android build won't work