From e238a8b363cc6cf578483425576cf2088c9ca953 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 31 Oct 2013 09:40:11 +0100 Subject: [PATCH] rpcsvc: Do not re-define "bool" --- freebsd/include/rpcsvc/yp_prot.h | 2 ++ 1 file changed, 2 insertions(+) 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 */