summaryrefslogtreecommitdiff
path: root/app
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 /app
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 'app')
-rw-r--r--app/test-pmd/cmdline.c6
-rw-r--r--app/test/commands.c5
-rw-r--r--app/test/test_cmdline_ipaddr.c7
3 files changed, 2 insertions, 16 deletions
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index ded56bf..1bd977f 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -11,13 +11,9 @@
#include <termios.h>
#include <unistd.h>
#include <inttypes.h>
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#else
+#ifdef __FreeBSD__
#include <sys/socket.h>
#endif
-#endif
#include <netinet/in.h>
#include <sys/queue.h>
diff --git a/app/test/commands.c b/app/test/commands.c
index 8d5a03a..3bf767b 100644
--- a/app/test/commands.c
+++ b/app/test/commands.c
@@ -10,11 +10,6 @@
#include <stdlib.h>
#include <netinet/in.h>
#include <termios.h>
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#endif
-#endif
#include <inttypes.h>
#include <errno.h>
#include <sys/queue.h>
diff --git a/app/test/test_cmdline_ipaddr.c b/app/test/test_cmdline_ipaddr.c
index 8ee7f62..2d11ce9 100644
--- a/app/test/test_cmdline_ipaddr.c
+++ b/app/test/test_cmdline_ipaddr.c
@@ -6,14 +6,9 @@
#include <string.h>
#include <inttypes.h>
#include <netinet/in.h>
-
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#else
+#ifdef __FreeBSD__
#include <sys/socket.h>
#endif
-#endif
#include <rte_string_fns.h>