]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/cmdline.c
add FreeBSD support
[dpdk.git] / app / test-pmd / cmdline.c
index 062a233e97d8b5d61c383395242f535d9a527658..4bf0720eb20d891e9490f325303e91e1576a9a95 100644 (file)
 #include <unistd.h>
 #include <inttypes.h>
 #ifndef __linux__
+#ifndef __FreeBSD__
 #include <net/socket.h>
+#else
+#include <sys/socket.h>
+#endif
 #endif
 #include <netinet/in.h>