summaryrefslogtreecommitdiffstats
path: root/freebsd/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 09:40:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:55 +0100
commite238a8b363cc6cf578483425576cf2088c9ca953 (patch)
tree3a0c1af6bfe234ba174bbf4a5e18e15d38796c74 /freebsd/include
parentMakefile: Add -fno-common (diff)
downloadrtems-libbsd-e238a8b363cc6cf578483425576cf2088c9ca953.tar.bz2
rpcsvc: Do not re-define "bool"
Diffstat (limited to 'freebsd/include')
-rw-r--r--freebsd/include/rpcsvc/yp_prot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/include/rpcsvc/yp_prot.h b/freebsd/include/rpcsvc/yp_prot.h
index 10d58289..960cab63 100644
--- a/freebsd/include/rpcsvc/yp_prot.h
+++ b/freebsd/include/rpcsvc/yp_prot.h
@@ -67,10 +67,12 @@
* YPPROC_MAPLIST takes (char *), returns (struct ypmaplist *).
*/
+#ifndef __rtems__
#ifndef BOOL_DEFINED
typedef u_int bool;
#define BOOL_DEFINED
#endif
+#endif /* __rtems__ */
/* Program and version symbols, magic numbers */