From 86d5de5c46fc0d4b0cf418e7e5480a9438de1d29 Mon Sep 17 00:00:00 2001 From: Alan Carew Date: Thu, 5 Jun 2014 17:12:07 +0100 Subject: [PATCH] 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 --- 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 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 { -- 2.20.1