From: Alan Carew Date: Thu, 5 Jun 2014 16:12:07 +0000 (+0100) Subject: eal: fix build for FreeBSD X-Git-Tag: spdx-start~10767 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=86d5de5c46fc0d4b0cf418e7e5480a9438de1d29;p=dpdk.git eal: fix build for FreeBSD Recent change to rte_dump_tailq (commit 591a9d7985c1230652), which now uses a FILE parameter causes compilation to fail under FreeBSD and sourced to a missing include of stdio.h. Errors: rte_tailq.h: unknown type name 'FILE' void rte_dump_tailq(FILE *f); rte_memory.h: unknown type name 'FILE' void rte_dump_physmem_layout(FILE *f); Signed-off-by: Alan Carew Tested-by: Waterman Cao Acked-by: Bruce Richardson --- diff --git a/lib/librte_eal/common/include/rte_tailq.h b/lib/librte_eal/common/include/rte_tailq.h index 42df7d2b50..0ddcc110e2 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 +#include /** dummy structure type used by the rte_tailq APIs */ struct rte_dummy {