summaryrefslogtreecommitdiff
path: root/examples/cmdline
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-08-12 09:00:54 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-10-21 16:19:00 +0200
commit384b0a33fe37e6e3c616f9f304908eaaced12f79 (patch)
tree7dc5bbfbd5eb6dba4c9a3c2fe6d72b415ad717bb /examples/cmdline
parent5194299d6ef5f29ee41043dd9e36f04595bb25f9 (diff)
downloaddpdk-384b0a33fe37e6e3c616f9f304908eaaced12f79.zip
dpdk-384b0a33fe37e6e3c616f9f304908eaaced12f79.tar.gz
dpdk-384b0a33fe37e6e3c616f9f304908eaaced12f79.tar.xz
clean bare metal support traces
Bare metal support has been gone for quite some time but we still had some checks on system includes. Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'examples/cmdline')
-rw-r--r--examples/cmdline/commands.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/cmdline/commands.c b/examples/cmdline/commands.c
index e96739f..1249ee7 100644
--- a/examples/cmdline/commands.c
+++ b/examples/cmdline/commands.c
@@ -12,12 +12,8 @@
#include <errno.h>
#include <netinet/in.h>
#include <termios.h>
-#ifndef __linux__
- #ifdef __FreeBSD__
- #include <sys/socket.h>
- #else
- #include <net/socket.h>
- #endif
+#ifdef __FreeBSD__
+#include <sys/socket.h>
#endif
#include <cmdline_rdline.h>