[dpdk-dev] [PATCH] app/testpmd: fix flow command compilation errors
Adrien Mazarguil
adrien.mazarguil at 6wind.com
Fri Dec 23 16:52:56 CET 2016
A missing include causes the following compilation errors:
error: use of undeclared identifier 'AF_INET'
error: use of undeclared identifier 'AF_INET6'
Fixes: ef6e38550f07 ("app/testpmd: add items ipv4/ipv6 to flow command")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
---
app/test-pmd/cmdline_flow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 7760c2d..ff98690 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -39,6 +39,7 @@
#include <ctype.h>
#include <string.h>
#include <arpa/inet.h>
+#include <sys/socket.h>
#include <rte_common.h>
#include <rte_ethdev.h>
--
2.1.4
More information about the dev
mailing list