[dpdk-dev] [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD

2014-06-11 Thread Thomas Monjalon
> > 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 > > Acked-by: Bruce Richar

[dpdk-dev] [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD

2014-06-10 Thread Bruce Richardson
On Thu, Jun 05, 2014 at 05:12:07PM +0100, Alan Carew wrote: > 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-o

[dpdk-dev] [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD

2014-06-10 Thread Cao, Waterman
Tested-by: Waterman Cao This patch is to fix compilation error in the FreeBSD 10.0 like the followings: .. /include/rte_tailq.h:177:21: error: unknown type name 'FILE' void rte_dump_tailq(FILE *f); ../include/rte_memory.h:146:30: error: unknown type name 'FILE' void rte_dump_physmem_layout(FILE

[dpdk-dev] [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD

2014-06-05 Thread Alan Carew
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 --- lib/librte_eal/common/include/rte_tailq.h | 1 + 1