Subject: Re: Build failure - libexec/ld.elf_so
To: None <current-users@netbsd.org>
From: Geoff Wing <gcw@pobox.com>
List: current-users
Date: 08/17/2007 11:29:47
On Friday 2007-08-17 10:46 +1000, Paul Goyette output:
:Ignore - it doesn't fix it after all.
:
:On Thu, 16 Aug 2007, Paul Goyette wrote:
:> The following patch makes this compile...
Try this.
Regards,
Geoff
--- libexec/ld.elf_so/rtld.h.org 2007-05-19 19:40:28.000000000 +1000
+++ libexec/ld.elf_so/rtld.h 2007-08-17 11:27:52.000000000 +1000
@@ -36,6 +36,7 @@
#include <dlfcn.h>
#include <stddef.h>
+#include <stdbool.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/queue.h>
@@ -60,15 +61,6 @@
#endif /* _RTLD_SOURCE */
-/*
- * C++ has mandated the use of the following keywords for its new boolean
- * type. We might as well follow their lead.
- */
-typedef enum {
- false = 0,
- true = 1
-} bool;
-
struct Struct_Obj_Entry;
typedef struct Struct_Objlist_Entry {