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>
#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>
#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>
#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>
#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>
#include <errno.h>
#include <arpa/inet.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>