From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Carew Subject: [PATCH 1/2] rte_tailq.h: Fix compilation under FreeBSD Date: Thu, 5 Jun 2014 17:12:07 +0100 Message-ID: <1401984728-21665-1-git-send-email-alan.carew@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "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 --- 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 +#include /** dummy structure type used by the rte_tailq APIs */ struct rte_dummy { -- 1.9.3