diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-19 19:27:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-19 19:27:58 +0000 |
commit | 78fe9589ad7251bd5dc6fca89ee3354a5c715eab (patch) | |
tree | 62744c90d93ac49116570b5cb256248e1e0a7f1e /cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | |
parent | 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |