aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-12-31 05:41:47 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-12-31 05:41:47 +0000
commit168bbfa73795a995c2579c9a2880d118f1a4588f (patch)
treeb454cfb5e793ab3c9e77f741595d3a3e9a98bd28 /libexec
parent54640e6d164f153878cdd295df41caaa3a1b88ea (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index fc9f102558110..c1996f04219f3 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -37,6 +37,7 @@
#include <elf-hints.h>
#include <link.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <setjmp.h>
#include <stddef.h>
@@ -46,11 +47,6 @@
#define NEW(type) ((type *) xmalloc(sizeof(type)))
#define CNEW(type) ((type *) xcalloc(1, sizeof(type)))
-/* We might as well do booleans like C++. */
-typedef unsigned char bool;
-#define false 0
-#define true 1
-
extern size_t tls_last_offset;
extern size_t tls_last_size;
extern size_t tls_static_space;