virtio-netd: fix broken build

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2023-07-20 20:08:30 +10:00
parent a5a76f674a
commit 443b7c9b8a
3 changed files with 4 additions and 0 deletions
Generated
+1
View File
@@ -1908,6 +1908,7 @@ dependencies = [
name = "virtio-netd"
version = "0.1.0"
dependencies = [
"common",
"futures",
"log",
"netutils",
+1
View File
@@ -10,6 +10,7 @@ futures = { version = "0.3.28", features = ["executor"] }
virtio-core = { path = "../virtio-core" }
pcid = { path = "../pcid" }
common = { path = "../common" }
redox-daemon = "0.1"
redox_syscall = "0.3"
+2
View File
@@ -8,6 +8,8 @@ use syscall::*;
use virtio_core::spec::{Buffer, ChainBuilder, DescriptorFlags};
use virtio_core::transport::Queue;
use common::dma::Dma;
use crate::{VirtHeader, MAX_BUFFER_LEN};
pub struct NetworkScheme<'a> {