git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add FreeBSD support
[dpdk.git]
/
app
/
test-pmd
/
cmdline.c
diff --git
a/app/test-pmd/cmdline.c
b/app/test-pmd/cmdline.c
index
062a233
..
4bf0720
100644
(file)
--- a/
app/test-pmd/cmdline.c
+++ b/
app/test-pmd/cmdline.c
@@
-41,7
+41,11
@@
#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>