When compiling OVS, lib/dpdk.c, found the missing header. In file included from ../lib/dpdk.c:27: C:\temp\dpdk\include\rte_log.h:24:10: fatal error: 'sys/queue.h' file not found ^~~~~~~~~~~~~ 1 warning and 1 error generated.
Signed-off-by: William Tu <u9012...@gmail.com> --- lib/eal/windows/include/meson.build | 4 ++++ lib/eal/windows/include/sys/meson.build | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 lib/eal/windows/include/sys/meson.build diff --git a/lib/eal/windows/include/meson.build b/lib/eal/windows/include/meson.build index b3534b025f..875cc1cf0d 100644 --- a/lib/eal/windows/include/meson.build +++ b/lib/eal/windows/include/meson.build @@ -8,3 +8,7 @@ headers += files( 'rte_virt2phys.h', 'rte_windows.h', ) + +sys_headers = [] +subdir('sys') +install_headers(sys_headers, subdir: 'sys') diff --git a/lib/eal/windows/include/sys/meson.build b/lib/eal/windows/include/sys/meson.build new file mode 100644 index 0000000000..6896cbf678 --- /dev/null +++ b/lib/eal/windows/include/sys/meson.build @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2021 VMware, Inc + +sys_headers += files( + 'queue.h', +) -- 2.32.0.windows.2