From 78fe9589ad7251bd5dc6fca89ee3354a5c715eab Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 19 Feb 2009 19:27:58 +0000 Subject: [PATCH] 2009-02-19 Joel Sherrill * 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 --- cpukit/ChangeLog | 6 ++++++ cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 3e16c90c9a..108dcb394e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-02-19 Joel Sherrill + + * 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 * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add halt command to 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