From: Intel Date: Wed, 19 Dec 2012 23:00:00 +0000 (+0100) Subject: mbuf: fix build when scatter gather is disabled X-Git-Tag: spdx-start~11380 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4ef869927ebf4bb7228ee2e3930bd325b8aa744e;p=dpdk.git mbuf: fix build when scatter gather is disabled Signed-off-by: Intel --- diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 6201bbad0a..88f6f33146 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -59,7 +59,6 @@ */ #include - #include #include #include @@ -341,6 +340,8 @@ rte_mbuf_refcnt_set(struct rte_mbuf *m, uint16_t new_value) /** Mbuf prefetch */ #define RTE_MBUF_PREFETCH_TO_FREE(m) do { } while(0) +#define rte_mbuf_refcnt_set(m,v) do { } while(0) + #endif /* RTE_MBUF_SCATTER_GATHER */