[dpdk-dev] [PATCH] eal: fix build for bsd

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 2 11:22:24 CEST 2014


When adding link bonding to EAL initialization (a155d430119),
an include was missing for BSD.

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 lib/librte_eal/bsdapp/eal/eal.c | 1 +
 1 file changed, 1 insertion(+)


Please, a quick test and acknowledgement of this fix would be helpful.


diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c
index ec57b26..69ead31 100644
--- a/lib/librte_eal/bsdapp/eal/eal.c
+++ b/lib/librte_eal/bsdapp/eal/eal.c
@@ -66,6 +66,7 @@
 #include <rte_cpuflags.h>
 #include <rte_interrupts.h>
 #include <rte_pci.h>
+#include <rte_dev.h>
 #include <rte_devargs.h>
 #include <rte_common.h>
 #include <rte_version.h>
-- 
2.0.0



More information about the dev mailing list