summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libnetworking/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 20a94a2f36..3ff8660533 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org>
+ * libnetworking/Makefile.am: Add -D_KERNEL to CPPFLAGS.
+
+2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org>
+
* libnetworking/net/bpf.h: Partial update from FreeBSD.
2004-04-19 Ralf Corsepius <ralf_corsepius@rtems.org>
diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am
index 984ba001f0..26ff067c5e 100644
--- a/cpukit/libnetworking/Makefile.am
+++ b/cpukit/libnetworking/Makefile.am
@@ -21,7 +21,7 @@ UNUSED_FILES += net/ppp.h net/ppp-deflate.c net/bsd-comp.c
if HAS_NETWORKING
# Add -DFORWARD_PROTOCOL to enable UDP forwarding -- requires missing net/pf.h
libnetworking_CPPFLAGS = -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \
- -DDIAGNOSTIC -DBOOTP_COMPAT
+ -DDIAGNOSTIC -DBOOTP_COMPAT -D_KERNEL
EXTRA_LIBRARIES = libnetworking.a
CLEANFILES += libnetworking.a