From: Jie Zhou Date: Fri, 1 Oct 2021 00:50:12 +0000 (-0700) Subject: mempool/stack: build on Windows X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=09e4eceacb082b8972c7ba695f2836cef229017c;p=dpdk.git mempool/stack: build on Windows Enable build of mempool/stack on Windows. Signed-off-by: Jie Zhou Acked-by: Dmitry Kozlyuk --- diff --git a/drivers/mempool/stack/meson.build b/drivers/mempool/stack/meson.build index 371cf131b1..580dde79eb 100644 --- a/drivers/mempool/stack/meson.build +++ b/drivers/mempool/stack/meson.build @@ -1,11 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation -if is_windows - build = false - reason = 'not supported on Windows' -endif - sources = files('rte_mempool_stack.c') deps += ['stack'] diff --git a/lib/meson.build b/lib/meson.build index 1673ca4323..9c4841fe40 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -85,6 +85,7 @@ if is_windows 'gso', 'latencystats', 'pdump', + 'stack', ] # only supported libraries for windows endif diff --git a/lib/stack/rte_stack.c b/lib/stack/rte_stack.c index f1cbb9803f..5e56cd9f0c 100644 --- a/lib/stack/rte_stack.c +++ b/lib/stack/rte_stack.c @@ -3,6 +3,7 @@ */ #include +#include #include #include