net/pcap: build on Windows
[dpdk.git] / drivers / net / pcap / pcap_ethdev.c
index 5ff7339..883a0c4 100644 (file)
@@ -16,6 +16,7 @@
 #include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_bus_vdev.h>
+#include <rte_os_shim.h>
 
 #include "pcap_osdep.h"
 
@@ -142,10 +143,6 @@ static struct rte_eth_link pmd_link = {
 
 RTE_LOG_REGISTER(eth_pcap_logtype, pmd.net.pcap, NOTICE);
 
-#define PMD_LOG(level, fmt, args...) \
-       rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \
-               "%s(): " fmt "\n", __func__, ##args)
-
 static struct queue_missed_stat*
 queue_missed_stat_update(struct rte_eth_dev *dev, unsigned int qid)
 {