app/testpmd: fix flow command build on FreeBSD
[dpdk.git] / app / test-pmd / cmdline_flow.c
index 7760c2d..ff98690 100644 (file)
@@ -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>