vlib: Place linux pci headers in a linux include block

Type: improvement
Change-Id: I6b30ffd1eabfa9544d548082b7e38b8fe7224c07
Signed-off-by: Tom Jones <thj@freebsd.org>
This commit is contained in:
Tom Jones
2024-01-29 10:34:21 +00:00
committed by Damjan Marion
parent 4c15c94b09
commit 36d099a5cd

View File

@ -47,8 +47,10 @@
#include <dirent.h>
#include <sys/ioctl.h>
#include <net/if.h>
#ifdef __linux__
#include <linux/ethtool.h>
#include <linux/sockios.h>
#endif /* __linux__ */
vlib_pci_main_t pci_main;