summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
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/libnetworking
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/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h4
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