gazelle/0244-virtio-solve-compilation-error-in-2003sp3.patch
yinbin6 f8c9051310 sync virtio: solve compilation error in 2003sp3
(cherry picked from commit 3cb696fd4a62cdcce26b465c8d911d3a838d3ebf)
2024-08-26 16:00:49 +08:00

25 lines
690 B
Diff

From 4a30424a4ce6135cbd118bc36f00b35955255f41 Mon Sep 17 00:00:00 2001
From: hantwofish <hankangkang5@huawei.com>
Date: Tue, 20 Aug 2024 17:28:37 +0800
Subject: [PATCH] virtio: solve compilation error in 2003sp3
---
src/lstack/core/lstack_virtio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lstack/core/lstack_virtio.c b/src/lstack/core/lstack_virtio.c
index 4a91ed7..7a8d947 100644
--- a/src/lstack/core/lstack_virtio.c
+++ b/src/lstack/core/lstack_virtio.c
@@ -15,6 +15,7 @@
#include <net/if.h>
#include <ifaddrs.h>
#include <lwip/lwipgz_posix_api.h>
+#include <lwip/dpdk_version.h>
#include <linux/ipv6.h>
#include "lstack_cfg.h"
#include "lstack_log.h"
--
2.33.0