summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-11-08 14:24:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-11-08 14:24:28 +0000
commit7554bb3a75ef437583b5590fd9daadaac112ef3f (patch)
treebc9e9e3c3931e408af37f8a68e51103d0d536595 /cpukit/libnetworking/rtems
parentchanges (diff)
downloadrtems-7554bb3a75ef437583b5590fd9daadaac112ef3f.tar.bz2
2005-11-08 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/if.h: Add forward reference declaration to struct mbuf so ifru_tap callback is properly typed. * libnetworking/rtems/rtems_bsdnet.h: Add definition of _BSD_VISIBLE which needs to be defined so various pieces of the .h files are visible to device drives.
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h
index c6471cd279..7c7c2c8df4 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h
@@ -24,6 +24,7 @@
#undef NFS
#undef DIAGNOSTIC
#undef BOOTP_COMPAT
+#undef __BSD_VISIBLE
#define _COMPILING_BSD_KERNEL_
#define _KERNEL
@@ -31,6 +32,7 @@
#define NFS
#define DIAGNOSTIC
#define BOOTP_COMPAT
+#define __BSD_VISIBLE 1
#endif
/*