summaryrefslogtreecommitdiff
path: root/ACE/ace/Rtems_init.c
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-10-25 09:32:04 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-10-25 09:32:04 +0000
commita0b891860e8d8877c3046355d957de57046a2a48 (patch)
treeb13f4e82d85ce769d9446eaf0273212df62121b5 /ACE/ace/Rtems_init.c
parent29924e2b6e8d809baa1021fd7f5127e5f1df5005 (diff)
downloadATCD-a0b891860e8d8877c3046355d957de57046a2a48.tar.gz
Diffstat (limited to 'ACE/ace/Rtems_init.c')
-rw-r--r--ACE/ace/Rtems_init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/Rtems_init.c b/ACE/ace/Rtems_init.c
index 9096b0eef1e..4ed83fd7696 100644
--- a/ACE/ace/Rtems_init.c
+++ b/ACE/ace/Rtems_init.c
@@ -49,6 +49,9 @@ rtems_task Init (rtems_task_argument argument);
#include <confdefs.h>
#include <stdio.h>
+
+#if !defined (ACE_LACKS_NETWORKING)
+
#include <rtems/rtems_bsdnet.h>
/* start of #include "../networkconfig.h" */
@@ -200,6 +203,8 @@ struct rtems_bsdnet_config rtems_bsdnet_config = {
#endif /* _RTEMS_NETWORKCONFIG_H_ */
/* end of #include "../networkconfig.h" */
+#endif /* ACE_LACKS_NETWORKING */
+
/*
* RTEMS Startup Task
*/
@@ -208,8 +213,10 @@ Init (rtems_task_argument not_used)
{
int doSocket(void);
+#if !defined (ACE_LACKS_NETWORKING)
rtems_bsdnet_initialize_network ();
rtems_bsdnet_show_inet_routes ();
+#endif /* ACE_LACKS_NETWORKING */
exit (0);
}