From 83b65f8da77f586cc58278944f840016817ba9f7 Mon Sep 17 00:00:00 2001 From: yangchen Date: Sat, 23 Nov 2024 16:14:25 +0800 Subject: [PATCH] fix build error in 2003SP4 --- src/lstack/api/lstack_wrap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lstack/api/lstack_wrap.c b/src/lstack/api/lstack_wrap.c index 7e724cd..d22847a 100644 --- a/src/lstack/api/lstack_wrap.c +++ b/src/lstack/api/lstack_wrap.c @@ -31,6 +31,10 @@ #include "lstack_rtw_api.h" #include "lstack_dummy_api.h" +#ifndef SOL_XDP +#define SOL_XDP 283 /* same as define in bits/socket.h */ +#endif + static posix_api_t g_wrap_api_value; static posix_api_t *g_wrap_api; -- 2.33.0