DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD
@ 2014-06-05 16:12 Alan Carew
  2014-06-05 16:12 ` [dpdk-dev] [PATCH 2/2] eal_pci: " Alan Carew
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alan Carew @ 2014-06-05 16:12 UTC (permalink / raw)
  To: dev

Recent change to rte_dump_tailq, which now uses a FILE parameter
causes compilation to fail under FreeBSD and sourced to a
missing include of stdio.h

This and next patch(both small) allows to compile without error.

Signed-off-by: Alan Carew <alan.carew@intel.com>
---
 lib/librte_eal/common/include/rte_tailq.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_eal/common/include/rte_tailq.h b/lib/librte_eal/common/include/rte_tailq.h
index 42df7d2..0ddcc11 100644
--- a/lib/librte_eal/common/include/rte_tailq.h
+++ b/lib/librte_eal/common/include/rte_tailq.h
@@ -45,6 +45,7 @@ extern "C" {
 #endif
 
 #include <sys/queue.h>
+#include <stdio.h>
 
 /** dummy structure type used by the rte_tailq APIs */
 struct rte_dummy {
-- 
1.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-11  9:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-05 16:12 [dpdk-dev] [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD Alan Carew
2014-06-05 16:12 ` [dpdk-dev] [PATCH 2/2] eal_pci: " Alan Carew
2014-06-10 21:00   ` Bruce Richardson
2014-06-11  9:56     ` Thomas Monjalon
2014-06-10  5:56 ` [dpdk-dev] [PATCH 1/2] rte_tailq.h: " Cao, Waterman
2014-06-10 20:58 ` Bruce Richardson
2014-06-11  9:56   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).