network: Use kernel/user space header files

Add and use <machine/rtems-bsd-kernel-space.h> and
<machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command
line defines and defines scattered throught the code base.

Simplify cpukit/libnetworking/Makefile.am.

Update #3375.
This commit is contained in:
Sebastian Huber
2018-09-07 06:19:02 +02:00
parent 43fb904e47
commit cb682532cf
178 changed files with 483 additions and 221 deletions

View File

@@ -19,7 +19,7 @@
* that used by this driver.
*/
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
#include <machine/rtems-bsd-kernel-space.h>
#if defined(__i386__) || defined(__arm__) || defined(__PPC__)
#define OPENETH_NOT_SUPPORTED