From 36d099a5cd82d12c1ed147212e03244d0a5b3d5c Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Mon, 29 Jan 2024 10:34:21 +0000 Subject: vlib: Place linux pci headers in a linux include block Type: improvement Change-Id: I6b30ffd1eabfa9544d548082b7e38b8fe7224c07 Signed-off-by: Tom Jones --- src/vlib/pci/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vlib/pci/pci.c b/src/vlib/pci/pci.c index cd580f04176..0bc90c5532d 100644 --- a/src/vlib/pci/pci.c +++ b/src/vlib/pci/pci.c @@ -47,8 +47,10 @@ #include #include #include +#ifdef __linux__ #include #include +#endif /* __linux__ */ vlib_pci_main_t pci_main; -- cgit 1.2.3-korg