summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-19 19:27:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-19 19:27:58 +0000
commit78fe9589ad7251bd5dc6fca89ee3354a5c715eab (patch)
tree62744c90d93ac49116570b5cb256248e1e0a7f1e /cpukit
parent2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-78fe9589ad7251bd5dc6fca89ee3354a5c715eab.tar.bz2
2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/rtems/rtems_bsdnet_internal.h: Re-add boolean when building BSD code. This is used by at least one of the BSD NIC drivers I am currently porting. I am trying out
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 3e16c90c9a..108dcb394e 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * libnetworking/rtems/rtems_bsdnet_internal.h: Re-add boolean when
+ building BSD code. This is used by at least one of the BSD NIC
+ drivers I am currently porting. I am trying out
+
+2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add halt command to
shell which results in the shutting RTEMS down.
* libmisc/shell/main_halt.c: New file.
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index 59c2e7f676..bb3633813a 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -91,6 +91,10 @@ struct sigaltstack {
int ss_flags; /* SS_DISABLE and/or SS_ONSTACK */
};
+#ifdef _KERNEL
+typedef int boolean_t;
+#endif
+
#ifndef _POSIX_SOURCE
/*
* minor() gives a cookie instead of an index since we don't want to