summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libnetworking/Makefile.am2
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am
index a72e35f712..bce7b56efc 100644
--- a/cpukit/libnetworking/Makefile.am
+++ b/cpukit/libnetworking/Makefile.am
@@ -17,7 +17,7 @@ UNUSED_FILES += sys/poll.h
if LIBNETWORKING
# Add -DFORWARD_PROTOCOL to enable UDP forwarding -- requires missing net/pf.h
-libnetworking_CPPFLAGS = -D_COMPILING_BSD_KERNEL_ -DINET -DNFS \
+libnetworking_CPPFLAGS = -DINET -DNFS \
-DDIAGNOSTIC -DBOOTP_COMPAT -D_KERNEL -D__BSD_VISIBLE
noinst_LIBRARIES = libnetworking.a
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h
index 5a8bf05092..41ae7132e9 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h
@@ -22,7 +22,6 @@ extern "C" {
*/
#if defined(__INSIDE_RTEMS_BSD_TCPIP_STACK__)
-#undef _COMPILING_BSD_KERNEL_
#undef _KERNEL
#undef INET
#undef NFS
@@ -30,7 +29,6 @@ extern "C" {
#undef BOOTP_COMPAT
#undef __BSD_VISIBLE
-#define _COMPILING_BSD_KERNEL_
#define _KERNEL
#define INET
#define NFS