From 78fe9589ad7251bd5dc6fca89ee3354a5c715eab Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 19 Feb 2009 19:27:58 +0000 Subject: 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/libnetworking/rtems/rtems_bsdnet_internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/libnetworking') 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 -- cgit v1.2.3